-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationmisc MasterCommunication
RaidMax edited this page May 21, 2023
·
1 revision
implementation of IMasterCommunication talks to the master server
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Misc
IW4MAdmin.Application.Misc.MasterCommunication[[MasterCommunication]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IMasterCommunication[[IMasterCommunication]]
class SharedLibraryCore.Interfaces.IMasterCommunication interfaceStyle;
end
SharedLibraryCore.Interfaces.IMasterCommunication --> IW4MAdmin.Application.Misc.MasterCommunication
Returns | Name |
---|---|
Task |
CheckVersion ()checks for latest version of the application notifies user if an update is available |
Task |
RunUploadStatus (CancellationToken token) |
implementation of IMasterCommunication talks to the master server
public MasterCommunication(ILogger<MasterCommunication> logger, ApplicationConfiguration appConfig, ITranslationLookup translationLookup, IMasterApi apiInstance, IManager manager)
Type | Name | Description |
---|---|---|
ILogger <MasterCommunication > |
logger | |
ApplicationConfiguration |
appConfig | |
ITranslationLookup |
translationLookup | |
IMasterApi |
apiInstance | |
IManager |
manager |
public virtual async Task CheckVersion()
checks for latest version of the application notifies user if an update is available
public virtual async Task RunUploadStatus(CancellationToken token)
Type | Name | Description |
---|---|---|
CancellationToken |
token |
Generated with ModularDoc