CubeIsland.LyricsReloaded.Filters.FilterCollection.getSize C# (CSharp) Méthode

getSize() public méthode

public getSize ( ) : int
Résultat int
        public int getSize()
        {
            return filters.Count;
        }

Usage Example

 public Variable(string name, Type type, FilterCollection filters = null)
 {
     this.name = name;
     this.type = type;
     if (filters == null || filters.getSize() <= 0)
     {
         this.filters = null;
     }
     else
     {
         this.filters = filters;
     }
 }