ActorTestKit<T>.InvokeAsync method (1 of 2)

Invokes the asynchronous actor method with the specified name, and passing the specified optional parameters. Use this method to invoke private methods of the actor.

public Task<object> InvokeAsync(string methodName, params object[] parameters)
parameter description
methodName The name of the actor method.
parameters The parameters to the method.

See Also


ActorTestKit<T>.InvokeAsync method (2 of 2)

Invokes the asynchronous actor method with the specified name and parameter types, and passing the specified optional parameters. Use this method to invoke private methods of the actor.

public Task<object> InvokeAsync(string methodName, Type[] parameterTypes, 
    params object[] parameters)
parameter description
methodName The name of the actor method.
parameterTypes The parameter types of the method.
parameters The parameters to the method.

See Also