Show / Hide Table of Contents

Class AutomationServiceClientBase<TAutomationService>

Inheritance
System.Object
AutomationServiceClientBase<TAutomationService>
AutomationServiceClientNoCallbackBase<TAutomationClient, TAutomationService>
AutomationServiceClientWithCallbackBase<TAutomationService, TAutomationCallbackService>
Implements
IAutomationServiceMethodHandlers<TAutomationService>
System.IDisposable
Namespace: MAT.Atlas.Automation.Client.Services
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 Description
TResult
Type Parameters
Name Description
TResult

Dispose()

Declaration
public void Dispose()

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

IAutomationServiceMethodHandlers<TAutomationService>
System.IDisposable
In This Article
Back to top Generated by DocFX