public static QueryAdminVAppField FromValue(string value)
 {
     foreach (QueryAdminVAppField queryAdminVappField in QueryAdminVAppField.Values())
     {
         if (queryAdminVappField.Value().Equals(value))
         {
             return(queryAdminVappField);
         }
     }
     throw new ArgumentException(value.ToString());
 }
        public static List <QueryAdminVAppField> Values()
        {
            QueryAdminVAppField        queryAdminVappField     = new QueryAdminVAppField();
            List <QueryAdminVAppField> queryAdminVappFieldList = new List <QueryAdminVAppField>();

            foreach (FieldInfo field in queryAdminVappField.GetType().GetFields())
            {
                queryAdminVappFieldList.Add((QueryAdminVAppField)field.GetValue((object)queryAdminVappField));
            }
            return(queryAdminVappFieldList);
        }