C# Class Config.Net.ContainerConfiguration

Inheritance: IConfigConfiguration
显示文件 Open project: aloneguid/config

Public Methods

Method Description
AddStore ( IConfigStore store ) : void
GetParser ( Type t ) : ITypeParser
HasParser ( Type t ) : bool
RemoveAllStores ( ) : void

Private Methods

Method Description
GetBuiltInParsers ( ) : ITypeParser>.Dictionary

Scans assembly for types implementing ITypeParser and builds Type => instance dictionary. Not sure if I should use reflection here, however the assembly is small and this shouldn't cause any performance issues

Method Details

AddStore() public method

public AddStore ( IConfigStore store ) : void
store IConfigStore
return void

GetParser() public method

public GetParser ( Type t ) : ITypeParser
t System.Type
return ITypeParser

HasParser() public method

public HasParser ( Type t ) : bool
t System.Type
return bool

RemoveAllStores() public method

public RemoveAllStores ( ) : void
return void