1 iw4madminapplicationio BaseConfigurationHandlerV2T
RaidMax edited this page 2023-05-20 22:09:21 -05:00

BaseConfigurationHandlerV2<TConfigurationType> Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.IO
  IW4MAdmin.Application.IO.BaseConfigurationHandlerV2_1[[BaseConfigurationHandlerV2< TConfigurationType >]]

  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IConfigurationHandlerV2_1[[IConfigurationHandlerV2< TConfigurationType >]]
  class SharedLibraryCore.Interfaces.IConfigurationHandlerV2_1 interfaceStyle;

  end
SharedLibraryCore.Interfaces.IConfigurationHandlerV2_1 --> IW4MAdmin.Application.IO.BaseConfigurationHandlerV2_1

Members

Methods

Protected methods

Returns Name
void Finalize()

Public methods

Returns Name
Task<TConfigurationType> Get(string configurationName, TConfigurationType defaultConfiguration)
Task Set(...)

Details

Inheritance

Constructors

BaseConfigurationHandlerV2

Source code

public BaseConfigurationHandlerV2(ILogger<BaseConfigurationHandlerV2<TConfigurationType>> logger, ConfigurationWatcher watcher)
Arguments
Type Name Description
ILogger<BaseConfigurationHandlerV2<TConfigurationType>> logger
ConfigurationWatcher watcher

Methods

Finalize

Source code

protected override void Finalize()

Get

Source code

public virtual async Task<TConfigurationType> Get(string configurationName, TConfigurationType defaultConfiguration)
Arguments
Type Name Description
string configurationName
TConfigurationType defaultConfiguration

Set [1/2]

Source code

public virtual async Task Set(TConfigurationType configuration)
Arguments
Type Name Description
TConfigurationType configuration

Set [2/2]

Source code

public virtual async Task Set()

Events

FileUpdated

private event Action<string> FileUpdated

Updated

public event Action<TConfigurationType> Updated

Generated with ModularDoc