-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationmisc RemoteCommandService
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Misc
IW4MAdmin.Application.Misc.RemoteCommandService[[RemoteCommandService]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IRemoteCommandService[[IRemoteCommandService]]
class SharedLibraryCore.Interfaces.IRemoteCommandService interfaceStyle;
end
SharedLibraryCore.Interfaces.IRemoteCommandService --> IW4MAdmin.Application.Misc.RemoteCommandService
Returns | Name |
---|---|
Task <IEnumerable <CommandResponseInfo >> |
Execute (int originId, Nullable <int > targetId, string command, IEnumerable <string > arguments, Server server) |
Task <(bool Item1, IEnumerable <CommandResponseInfo > Item2)> |
ExecuteWithResult (int originId, Nullable <int > targetId, string command, IEnumerable <string > arguments, Server server) |
public RemoteCommandService(ILogger<RemoteCommandService> logger, ApplicationConfiguration appConfig, ClientService clientService)
Type | Name | Description |
---|---|---|
ILogger <RemoteCommandService > |
logger | |
ApplicationConfiguration |
appConfig | |
ClientService |
clientService |
public virtual async Task<IEnumerable<CommandResponseInfo>> Execute(int originId, Nullable<int> targetId, string command, IEnumerable<string> arguments, Server server)
Type | Name | Description |
---|---|---|
int |
originId | |
Nullable <int > |
targetId | |
string |
command | |
IEnumerable <string > |
arguments | |
Server |
server |
public virtual async Task<(bool Item1, IEnumerable<CommandResponseInfo> Item2)> ExecuteWithResult(int originId, Nullable<int> targetId, string command, IEnumerable<string> arguments, Server server)
Type | Name | Description |
---|---|---|
int |
originId | |
Nullable <int > |
targetId | |
string |
command | |
IEnumerable <string > |
arguments | |
Server |
server |
Generated with ModularDoc