-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationmisc BaseConfigurationHandlerT
RaidMax edited this page May 21, 2023
·
1 revision
default implementation of IConfigurationHandler
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
Type | Name | Methods |
---|---|---|
string |
FileName |
get |
Returns | Name |
---|---|
void |
Finalize () |
Returns | Name |
---|---|
Task |
BuildAsync () |
T |
Configuration () |
Task |
Save () |
void |
Set (T config) |
default implementation of IConfigurationHandler
Type | Description | Constraints |
---|---|---|
T |
base configuration type | IBaseConfiguration |
public BaseConfigurationHandler(string fileName)
Type | Name | Description |
---|---|---|
string |
fileName |
public BaseConfigurationHandler()
protected override void Finalize()
public virtual async Task BuildAsync()
public virtual async Task Save()
public virtual T Configuration()
public virtual void Set(T config)
Type | Name | Description |
---|---|---|
T |
config |
public virtual string FileName { get; }
Generated with ModularDoc