Exemple #1
0
        internal Protocol_ModifierProtocols(string name, InnerEnum innerEnum, Protocol_ModifierProtocolCategory identifier, string friendlyName)
        {
            this.Identifier   = identifier;
            this.FriendlyName = friendlyName;

            nameValue      = name;
            ordinalValue   = nextOrdinal++;
            innerEnumValue = innerEnum;
        }
Exemple #2
0
 public static Optional <Protocol_ModifierProtocol> Find(Protocol_ModifierProtocolCategory category, string friendlyName)
 {
     return(Protocol.find(Protocol_ModifierProtocols.values(), category, friendlyName, string.ToLower));
 }