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