1 sharedlibrarycoreinterfaces IRemoteCommandService
RaidMax edited this page 2023-05-20 22:09:21 -05:00

IRemoteCommandService Public interface

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IRemoteCommandService[[IRemoteCommandService]]
  class SharedLibraryCore.Interfaces.IRemoteCommandService interfaceStyle;
  end

Members

Methods

Public methods

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)

Details

Methods

Execute

Source code

public Task<IEnumerable<CommandResponseInfo>> Execute(int originId, Nullable<int> targetId, string command, IEnumerable<string> arguments, Server server)
Arguments
Type Name Description
int originId
Nullable<int> targetId
string command
IEnumerable<string> arguments
Server server

ExecuteWithResult

Source code

public Task<(bool Item1, IEnumerable<CommandResponseInfo> Item2)> ExecuteWithResult(int originId, Nullable<int> targetId, string command, IEnumerable<string> arguments, Server server)
Arguments
Type Name Description
int originId
Nullable<int> targetId
string command
IEnumerable<string> arguments
Server server

Generated with ModularDoc