1 iw4madminapplicationmisc BaseConfigurationHandlerT
RaidMax edited this page 2023-05-20 22:09:21 -05:00

BaseConfigurationHandler<T> Public class

Description

default implementation of IConfigurationHandler

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IBaseConfiguration[[IBaseConfiguration]]
  class SharedLibraryCore.Interfaces.IBaseConfiguration interfaceStyle;
  SharedLibraryCore.Interfaces.IConfigurationHandler_1[[IConfigurationHandler< T >]]
  class SharedLibraryCore.Interfaces.IConfigurationHandler_1 interfaceStyle;
  SharedLibraryCore.Interfaces.IConfigurationHandler_1T((T));
  SharedLibraryCore.Interfaces.IConfigurationHandler_1 -- where --o SharedLibraryCore.Interfaces.IConfigurationHandler_1T
SharedLibraryCore.Interfaces.IBaseConfiguration --> SharedLibraryCore.Interfaces.IConfigurationHandler_1T

  end
  subgraph IW4MAdmin.Application.Misc
  IW4MAdmin.Application.Misc.BaseConfigurationHandler_1[[BaseConfigurationHandler< T >]]
  IW4MAdmin.Application.Misc.BaseConfigurationHandler_1T((T));
  IW4MAdmin.Application.Misc.BaseConfigurationHandler_1 -- where --o IW4MAdmin.Application.Misc.BaseConfigurationHandler_1T
SharedLibraryCore.Interfaces.IBaseConfiguration --> IW4MAdmin.Application.Misc.BaseConfigurationHandler_1T

  end
SharedLibraryCore.Interfaces.IConfigurationHandler_1 --> IW4MAdmin.Application.Misc.BaseConfigurationHandler_1

Members

Properties

Public properties

Type Name Methods
string FileName get

Methods

Protected methods

Returns Name
void Finalize()

Public methods

Returns Name
Task BuildAsync()
T Configuration()
Task Save()
void Set(T config)

Details

Summary

default implementation of IConfigurationHandler

Generic types

Type Description Constraints
T base configuration type IBaseConfiguration

Inheritance

Constructors

BaseConfigurationHandler [1/2]

Source code

public BaseConfigurationHandler(string fileName)
Arguments
Type Name Description
string fileName

BaseConfigurationHandler [2/2]

Source code

public BaseConfigurationHandler()

Methods

Finalize

Source code

protected override void Finalize()

BuildAsync

Source code

public virtual async Task BuildAsync()

Save

Source code

public virtual async Task Save()

Configuration

Source code

public virtual T Configuration()

Set

Source code

public virtual void Set(T config)
Arguments
Type Name Description
T config

Properties

FileName

public virtual string FileName { get; }

Generated with ModularDoc