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
- methodstring
- Name of method to execute. 
- objobject
- Object, contains method to execute. 
- argsobject[]
- Array of method's parameters. 
- cancellationTokenCancellationToken
- Cancellation token.