C# Class Mash.AppSettings.SettingTypeLoaderBase

A base class for setting type loaders
显示文件 Open project: drwill/mash

Protected Methods

Method Description
CheckIfSettingIsValid ( string loadedValue, string settingName ) : bool
IsConnectionStringSettingType ( PropertyInfo member ) : bool
IsSettingRequired ( PropertyInfo member ) : bool
IsSupportedConnectionStringsType ( PropertyInfo member ) : bool
LoadValue ( SettingTypeModel model ) : string

Private Methods

Method Description
DoWork ( SettingTypeModel model ) : bool

Indicates whether or not this setting type matches the specified member

Method Details

CheckIfSettingIsValid() protected static method

protected static CheckIfSettingIsValid ( string loadedValue, string settingName ) : bool
loadedValue string
settingName string
return bool

IsConnectionStringSettingType() protected static method

protected static IsConnectionStringSettingType ( PropertyInfo member ) : bool
member System.Reflection.PropertyInfo
return bool

IsSettingRequired() protected static method

protected static IsSettingRequired ( PropertyInfo member ) : bool
member System.Reflection.PropertyInfo
return bool

IsSupportedConnectionStringsType() protected static method

protected static IsSupportedConnectionStringsType ( PropertyInfo member ) : bool
member System.Reflection.PropertyInfo
return bool

LoadValue() protected method

protected LoadValue ( SettingTypeModel model ) : string
model SettingTypeModel
return string