CubeIsland.LyricsReloaded.Filters.FilterCollection.getSize C# (CSharp) Method

getSize() public method

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

Usage Example

コード例 #1
0
ファイル: Variable.cs プロジェクト: pschichtel/LyricsReloaded
 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;
     }
 }