C# Class TerrificNet.ViewEngine.DefaultModuleRepository

Inheritance: IModuleRepository
Mostra file Open project: namics/TerrificNet

Public Methods

Method Description
DefaultModuleRepository ( ITerrificNetConfig configuration, ITemplateRepository templateRepository ) : System.Collections.Generic
GetAll ( ) : IEnumerable
GetModuleDefinitionByIdAsync ( string id ) : Task

Private Methods

Method Description
CreateModuleDefinition ( TemplateInfo>.IGrouping t ) : ModuleDefinition
GetDefaultTemplateCandidates ( string moduleId ) : IEnumerable
GetModuleId ( string moduleId ) : string
GetModules ( ) : ModuleDefinition>.Dictionary
GetSkinName ( TemplateInfo templateInfo ) : string

Method Details

DefaultModuleRepository() public method

public DefaultModuleRepository ( ITerrificNetConfig configuration, ITemplateRepository templateRepository ) : System.Collections.Generic
configuration ITerrificNetConfig
templateRepository ITemplateRepository
return System.Collections.Generic

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetModuleDefinitionByIdAsync() public method

public GetModuleDefinitionByIdAsync ( string id ) : Task
id string
return Task