internal Protocol_ModifierProtocols(string name, InnerEnum innerEnum, Protocol_ModifierProtocolCategory identifier, string friendlyName) { this.Identifier = identifier; this.FriendlyName = friendlyName; nameValue = name; ordinalValue = nextOrdinal++; innerEnumValue = innerEnum; }
public static Optional <Protocol_ModifierProtocol> Find(Protocol_ModifierProtocolCategory category, string friendlyName) { return(Protocol.find(Protocol_ModifierProtocols.values(), category, friendlyName, string.ToLower)); }