C# Class BatchGuy.App.Settings.Services.ApplicationSettingsService

Inheritance: IApplicationSettingsService
显示文件 Open project: yaboy58/BatchGuy Class Usage Examples

Public Properties

Property Type Description
_log log4net.ILog

Public Methods

Method Description
ApplicationSettingsService ( IJsonSerializationService jsonSerializationService, IAudioService audioService ) : System
GetApplicationSettings ( ) : ApplicationSettings
GetSettingByName ( string settingName ) : Setting
Save ( ApplicationSettings applicationSettings ) : void

Private Methods

Method Description
LoadSettingsFromConfigFile ( ) : void

Method Details

ApplicationSettingsService() public method

public ApplicationSettingsService ( IJsonSerializationService jsonSerializationService, IAudioService audioService ) : System
jsonSerializationService IJsonSerializationService
audioService IAudioService
return System

GetApplicationSettings() public method

public GetApplicationSettings ( ) : ApplicationSettings
return BatchGuy.App.Shared.Models.ApplicationSettings

GetSettingByName() public method

public GetSettingByName ( string settingName ) : Setting
settingName string
return BatchGuy.App.Shared.Models.Setting

Save() public method

public Save ( ApplicationSettings applicationSettings ) : void
applicationSettings BatchGuy.App.Shared.Models.ApplicationSettings
return void

Property Details

_log public_oe static_oe property

public static ILog,log4net _log
return log4net.ILog