示例#1
0
 private object DoGetNames(CsEnum type)
 {
     return type.Names;
 }
        private bool DoHasEnum(CsEnum[] members, string name)
        {
            foreach (var member in members)
            {
                if (member.Name == name)
                    return true;
            }

            return false;
        }
示例#3
0
 private object DoGetBaseType(CsEnum type)
 {
     return type.BaseType;
 }