Show / Hide Table of Contents

Class AppSettingServiceBase<T>

Inheritance
System.Object
AppSettingServiceBase<T>
AuthConfigService
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()
Namespace: Mix.Shared.Services
Assembly: mix.shared.dll
Syntax
public abstract class AppSettingServiceBase<T>
Type Parameters
Name Description
T

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
Type Description
T
| 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
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾