Method RunMethodAsync
RunMethodAsync(string, object, object[], CancellationToken)
Executes specified method asynchronously.
public Task<object> RunMethodAsync(string method, object obj = null, object[] args = null, CancellationToken cancellationToken = default)
Parameters
methodstringName of method to execute.
objobjectObject, contains method to execute.
argsobject[]Array of method's parameters.
cancellationTokenCancellationTokenCancellation token.