Class AppSettingServiceBase<T>
Inheritance
System.Object
AppSettingServiceBase<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: mix.shared.dll
Syntax
public abstract class AppSettingServiceBase<T>
Type Parameters
Constructors
|
Improve this Doc
View Source
AppSettingServiceBase(IConfiguration, String, String)
Declaration
public AppSettingServiceBase(IConfiguration configuration, string section, string filePath)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Configuration.IConfiguration |
configuration |
|
System.String |
section |
|
System.String |
filePath |
|
Fields
|
Improve this Doc
View Source
_configuration
Declaration
protected readonly IConfiguration _configuration
Field Value
Type |
Description |
Microsoft.Extensions.Configuration.IConfiguration |
|
|
Improve this Doc
View Source
_sectionName
Declaration
protected string _sectionName
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
filePath
Declaration
protected string filePath
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
watcher
Declaration
protected readonly FileSystemWatcher watcher
Field Value
Type |
Description |
FileSystemWatcher |
|
Properties
|
Improve this Doc
View Source
AppSettings
Declaration
public T AppSettings { get; set; }
Property Value
|
Improve this Doc
View Source
FilePath
Declaration
protected string FilePath { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
LoadAppSettings()
Declaration
protected virtual void LoadAppSettings()
|
Improve this Doc
View Source
SaveSettings()
Declaration
public bool SaveSettings()
Returns
Type |
Description |
System.Boolean |
|