public bool ContainsState(int stateValue) { return(DefinedStatesInternal.Any(s => s.Value == stateValue)); }
public bool ContainsState(string name) { ArgumentUtility.CheckNotNullOrEmpty("name", name); return(DefinedStatesInternal.Any(s => s.Name == name)); }