public ITreeNodeGroup GetGroup(FileTreeNodeGroupType type) { switch (type) { case FileTreeNodeGroupType.AssemblyRefTreeNodeGroupReferences: return(AssemblyRefTreeNodeGroupReferences); case FileTreeNodeGroupType.AssemblyRefTreeNodeGroupAssemblyRef: return(AssemblyRefTreeNodeGroupAssemblyRef); case FileTreeNodeGroupType.ModuleRefTreeNodeGroupReferences: return(ModuleRefTreeNodeGroupReferences); case FileTreeNodeGroupType.ReferencesFolderTreeNodeGroupModule: return(ReferencesFolderTreeNodeGroupModule); case FileTreeNodeGroupType.ResourcesFolderTreeNodeGroupModule: return(ResourcesFolderTreeNodeGroupModule); case FileTreeNodeGroupType.NamespaceTreeNodeGroupModule: return(NamespaceTreeNodeGroupModule); case FileTreeNodeGroupType.TypeTreeNodeGroupNamespace: return(TypeTreeNodeGroupNamespace); case FileTreeNodeGroupType.TypeTreeNodeGroupType: return(TypeTreeNodeGroupType); case FileTreeNodeGroupType.BaseTypeFolderTreeNodeGroupType: return(BaseTypeFolderTreeNodeGroupType); case FileTreeNodeGroupType.BaseTypeTreeNodeGroupBaseType: return(BaseTypeTreeNodeGroupBaseType); case FileTreeNodeGroupType.InterfaceBaseTypeTreeNodeGroupBaseType: return(InterfaceBaseTypeTreeNodeGroupBaseType); case FileTreeNodeGroupType.DerivedTypesFolderTreeNodeGroupType: return(DerivedTypesFolderTreeNodeGroupType); case FileTreeNodeGroupType.MessageTreeNodeGroupDerivedTypes: return(MessageTreeNodeGroupDerivedTypes); case FileTreeNodeGroupType.DerivedTypeTreeNodeGroupDerivedTypes: return(DerivedTypeTreeNodeGroupDerivedTypes); case FileTreeNodeGroupType.MethodTreeNodeGroupType: return(MethodTreeNodeGroupType); case FileTreeNodeGroupType.MethodTreeNodeGroupProperty: return(MethodTreeNodeGroupProperty); case FileTreeNodeGroupType.MethodTreeNodeGroupEvent: return(MethodTreeNodeGroupEvent); case FileTreeNodeGroupType.FieldTreeNodeGroupType: return(FieldTreeNodeGroupType); case FileTreeNodeGroupType.EventTreeNodeGroupType: return(EventTreeNodeGroupType); case FileTreeNodeGroupType.PropertyTreeNodeGroupType: return(PropertyTreeNodeGroupType); case FileTreeNodeGroupType.ResourceTreeNodeGroup: return(ResourceTreeNodeGroup); case FileTreeNodeGroupType.ResourceElementTreeNodeGroup: return(ResourceElementTreeNodeGroup); default: throw new ArgumentException(); } }
public ITreeNodeGroup GetGroup(FileTreeNodeGroupType type) { switch (type) { case FileTreeNodeGroupType.AssemblyRefTreeNodeGroupReferences: return AssemblyRefTreeNodeGroupReferences; case FileTreeNodeGroupType.AssemblyRefTreeNodeGroupAssemblyRef: return AssemblyRefTreeNodeGroupAssemblyRef; case FileTreeNodeGroupType.ModuleRefTreeNodeGroupReferences: return ModuleRefTreeNodeGroupReferences; case FileTreeNodeGroupType.ReferencesFolderTreeNodeGroupModule: return ReferencesFolderTreeNodeGroupModule; case FileTreeNodeGroupType.ResourcesFolderTreeNodeGroupModule: return ResourcesFolderTreeNodeGroupModule; case FileTreeNodeGroupType.NamespaceTreeNodeGroupModule: return NamespaceTreeNodeGroupModule; case FileTreeNodeGroupType.TypeTreeNodeGroupNamespace: return TypeTreeNodeGroupNamespace; case FileTreeNodeGroupType.TypeTreeNodeGroupType: return TypeTreeNodeGroupType; case FileTreeNodeGroupType.BaseTypeFolderTreeNodeGroupType: return BaseTypeFolderTreeNodeGroupType; case FileTreeNodeGroupType.BaseTypeTreeNodeGroupBaseType: return BaseTypeTreeNodeGroupBaseType; case FileTreeNodeGroupType.InterfaceBaseTypeTreeNodeGroupBaseType: return InterfaceBaseTypeTreeNodeGroupBaseType; case FileTreeNodeGroupType.DerivedTypesFolderTreeNodeGroupType: return DerivedTypesFolderTreeNodeGroupType; case FileTreeNodeGroupType.MessageTreeNodeGroupDerivedTypes: return MessageTreeNodeGroupDerivedTypes; case FileTreeNodeGroupType.DerivedTypeTreeNodeGroupDerivedTypes: return DerivedTypeTreeNodeGroupDerivedTypes; case FileTreeNodeGroupType.MethodTreeNodeGroupType: return MethodTreeNodeGroupType; case FileTreeNodeGroupType.MethodTreeNodeGroupProperty: return MethodTreeNodeGroupProperty; case FileTreeNodeGroupType.MethodTreeNodeGroupEvent: return MethodTreeNodeGroupEvent; case FileTreeNodeGroupType.FieldTreeNodeGroupType: return FieldTreeNodeGroupType; case FileTreeNodeGroupType.EventTreeNodeGroupType: return EventTreeNodeGroupType; case FileTreeNodeGroupType.PropertyTreeNodeGroupType: return PropertyTreeNodeGroupType; case FileTreeNodeGroupType.ResourceTreeNodeGroup: return ResourceTreeNodeGroup; case FileTreeNodeGroupType.ResourceElementTreeNodeGroup: return ResourceElementTreeNodeGroup; default: throw new ArgumentException(); } }