C# Class Cedar.Core.SettingSource.SettingSourceFactory

This is factory to create or get setting source.
Mostra file Open project: Chinaccn/surfboard

Public Methods

Method Description
ChangeSettingSource ( ISettingSource settingSource ) : void

Changes the setting source.

ChangeSettingSource ( string name ) : void

Changes the setting source.

GetSettingSource ( string name = null ) : ISettingSource

Gets the setting source.

Reset ( ) : void

Resets this default setting source to null.

Method Details

ChangeSettingSource() public static method

Changes the setting source.
public static ChangeSettingSource ( ISettingSource settingSource ) : void
settingSource ISettingSource The setting source.
return void

ChangeSettingSource() public static method

Changes the setting source.
public static ChangeSettingSource ( string name ) : void
name string The name.
return void

GetSettingSource() public static method

Gets the setting source.
public static GetSettingSource ( string name = null ) : ISettingSource
name string The name.
return ISettingSource

Reset() public static method

Resets this default setting source to null.
public static Reset ( ) : void
return void