private IEnumerable <ExtractedEnumType> GetEnumTypes() => _typeCollection.GetEnums().OrderBy(type => type.Name);
public EnumTester TestEnumsWithName(string name) { return(new EnumTester(_typeCollection.GetEnums().Where(en => en.Name == name).FirstOrDefault())); }
/// <summary> /// Gets the client script enums by their script namespace /// </summary> /// <returns>An enumerable list of enums by their namespace</returns> public IEnumerable <IGrouping <string, ExtractedEnumType> > GetEnumsByNamespace() { return(_typeCollection.GetEnums().GroupBy(en => en.Namespace)); }