예제 #1
0
 public bool ContainsState(int stateValue)
 {
     return(DefinedStatesInternal.Any(s => s.Value == stateValue));
 }
예제 #2
0
        public bool ContainsState(string name)
        {
            ArgumentUtility.CheckNotNullOrEmpty("name", name);

            return(DefinedStatesInternal.Any(s => s.Name == name));
        }