Method RunMethodAsync
RunMethodAsync(string, object, object[], CancellationToken)
When implemented by a class, executes specified method asynchronously.
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.