Class DataStoreIntegrationClientBase
- Namespace
- Sfrep.AppraiseIt.Client.Integration.DataStore
- Assembly
- Sfrep.AppraiseIt.Client.Integration.dll
A base class used by client classes that interact with Appraise-It Pro's dynamic report data store.
public class DataStoreIntegrationClientBase : IDisposable
- Inheritance
-
objectDataStoreIntegrationClientBase
- Implements
- Derived
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()object.ReferenceEquals(object, object)object.ToString()
Constructors
DataStoreIntegrationClientBase(IntegrationClient, JoinableTaskFactory)
Creates a new instance.
protected DataStoreIntegrationClientBase(IntegrationClient integrationClient, JoinableTaskFactory joinableTaskFactory)
Parameters
integrationClientIntegrationClientThe integration client connection.
joinableTaskFactoryJoinableTaskFactoryA JoinableTaskFactory used to start asyncronous Tasks from the main thread.
Properties
CurrentTransactionId
The integration transaction's ID.
protected Guid CurrentTransactionId { get; }
Property Value
Disposed
True if and only if this instance has been disposed.
public bool Disposed { get; }
Property Value
- bool
IntegrationClient
The integration client connection.
protected IntegrationClient IntegrationClient { get; }
Property Value
JoinableTaskFactory
A JoinableTaskFactory used to start asyncronous Tasks from the main thread.
protected JoinableTaskFactory JoinableTaskFactory { get; }
Property Value
Methods
Dispose()
Frees resources used by this instance.
public void Dispose()
Dispose(bool)
Frees resources used by this instance.
protected virtual void Dispose(bool disposing)
Parameters
disposingboolTrue if called by the Dispose() method. False if called by the finalizer.
ThrowIfNullOrWhiteSpace(string, string)
Throws an exception if argument is null, empty, or consists only of white-space characters.
protected void ThrowIfNullOrWhiteSpace(string argument, string paramName)
Parameters
argumentstringThe string argument to validate.
paramNamestringThe name of the parameter with which argument corresponds.
Exceptions
- ArgumentNullException
argument is null.
- ArgumentException
argument is empty or consists only of white-space characters.