Table of Contents

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
object
DataStoreIntegrationClientBase
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

integrationClient IntegrationClient

The integration client connection.

joinableTaskFactory JoinableTaskFactory

A JoinableTaskFactory used to start asyncronous Tasks from the main thread.

Properties

CurrentTransactionId

The integration transaction's ID.

protected Guid CurrentTransactionId { get; }

Property Value

Guid

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

IntegrationClient

JoinableTaskFactory

A JoinableTaskFactory used to start asyncronous Tasks from the main thread.

protected JoinableTaskFactory JoinableTaskFactory { get; }

Property Value

JoinableTaskFactory

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

disposing bool

True 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

argument string

The string argument to validate.

paramName string

The name of the parameter with which argument corresponds.

Exceptions

ArgumentNullException

argument is null.

ArgumentException

argument is empty or consists only of white-space characters.