Example #1
0
        public bool ContainsKey(string value)
        {
            bool          result = false;
            EnumAttribute sva    = new EnumAttribute(value);

            if (EnumValues.ContainsKey(sva))
            {
                result = true;
            }
            return(result);
        }
Example #2
0
        public Enum GetEnum(string value)
        {
            EnumAttribute sva = new EnumAttribute(value);

            return(EnumValues[sva]);
        }