Show / Hide Table of Contents

Interface IAutomationServiceMethodHandlers<TAutomationService>

Namespace: MAT.Atlas.Automation.Client.Services
Assembly: MAT.Atlas.Automation.Client.dll
Syntax
public interface IAutomationServiceMethodHandlers<TAutomationService> : IDisposable where TAutomationService : class
Type Parameters
Name Description
TAutomationService

Methods

Call(Action<TAutomationService>, Action, Action<Exception>)

Declaration
void Call(Action<TAutomationService> operation, Action onSuccess = null, Action<Exception> onException = null)
Parameters
Type Name Description
System.Action<TAutomationService> operation
System.Action onSuccess
System.Action<System.Exception> onException

Call<TResult>(Func<TAutomationService, TResult>, Action<TResult>, Action<Exception>)

Declaration
TResult Call<TResult>(Func<TAutomationService, TResult> operation, Action<TResult> onSuccess = null, Action<Exception> onException = null)
Parameters
Type Name Description
System.Func<TAutomationService, TResult> operation
System.Action<TResult> onSuccess
System.Action<System.Exception> onException
Returns
Type Description
TResult
Type Parameters
Name Description
TResult
In This Article
Back to top Generated by DocFX