Class AutomationServiceClientBase<TAutomationService>
Inheritance
System.Object
AutomationServiceClientBase<TAutomationService>
Implements
System.IDisposable
Assembly: MAT.Atlas.Automation.Client.dll
Syntax
public abstract class AutomationServiceClientBase<TAutomationService> : Object, IAutomationServiceMethodHandlers<TAutomationService>, IDisposable where TAutomationService : class
Type Parameters
Name |
Description |
TAutomationService |
|
Constructors
AutomationServiceClientBase()
Declaration
protected AutomationServiceClientBase()
Properties
AutomationService
Declaration
public TAutomationService AutomationService { get; }
Property Value
Type |
Description |
TAutomationService |
|
Methods
Call(Action<TAutomationService>, Action, Action<Exception>)
Declaration
public 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 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
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Finalize()
Declaration
protected override void Finalize()
GetAutomationService()
Declaration
protected abstract TAutomationService GetAutomationService()
Returns
Type |
Description |
TAutomationService |
|
IsConnected()
Declaration
public bool IsConnected()
Returns
Type |
Description |
System.Boolean |
|
OnDisposeManagedResources()
Declaration
protected virtual void OnDisposeManagedResources()
OnDisposeUnmanagedResources()
Declaration
protected virtual void OnDisposeUnmanagedResources()
Implements
System.IDisposable