Class AutomationServiceClientNoCallbackBase<TAutomationClient, TAutomationService>
Inheritance
System.Object
AutomationServiceClientNoCallbackBase<TAutomationClient, TAutomationService>
Implements
System.IDisposable
Assembly: MAT.Atlas.Automation.Client.dll
Syntax
public abstract class AutomationServiceClientNoCallbackBase<TAutomationClient, TAutomationService> : AutomationServiceClientBase<TAutomationService>, IAutomationServiceMethodHandlers<TAutomationService>, IDisposable where TAutomationClient : class, IAutomationServiceMethodHandlers<TAutomationService>, new()
where TAutomationService : class
Type Parameters
| Name |
Description |
| TAutomationClient |
|
| TAutomationService |
|
Constructors
AutomationServiceClientNoCallbackBase()
Declaration
protected AutomationServiceClientNoCallbackBase()
Methods
Call(Action<TAutomationService>, Action, Action<Exception>)
Declaration
public static 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
public static 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 Parameters
CreateAutomationService()
Declaration
public static TAutomationService CreateAutomationService()
Returns
| Type |
Description |
| TAutomationService |
|
GetAutomationService()
Declaration
protected override TAutomationService GetAutomationService()
Returns
| Type |
Description |
| TAutomationService |
|
Overrides
MAT.Atlas.Automation.Client.Services.AutomationServiceClientBase<TAutomationService>.GetAutomationService()
Implements
System.IDisposable