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

            foreach (FieldInfo field in strandedItemField.GetType().GetFields())
            {
                strandedItemFieldList.Add((QueryStrandedItemField)field.GetValue((object)strandedItemField));
            }
            return(strandedItemFieldList);
        }