BattleInfoPlugin.Models.ShipDataExtensions.Count C# (CSharp) 메소드

Count() 공개 정적인 메소드

public static Count ( this data, Type2 type2 ) : int
data this
type2 Type2
리턴 int
        public static int Count(this ShipData data, Type2 type2)
        {
            return data.Slots.Count(x => x.Type2 == type2);
        }
ShipDataExtensions