Namespace Datamine.MineTrustConnector.Core

Classes

IncludeConfiguration

Class defining the configuration which accompanies the inclusion of a particular file or files

LogEventFormats

Log message formats used by MineTrust Connector

MTConnectorClient

Client utility class for calling methods exposed via the pipe interface of the MT Connector Service

MTConnectorEvent

Represents an event raised by the MineTrust Connector service.

MTConnectorEventRegistration

Class which represents a registration to events raised by the MineTrust Connector service. Acts as a disposable wrapper which unwires the registration on disposal.

MTConnectorProfile

Profile which describes the operational profile for a local user of MineTrust Connector

MTConnectorServiceConfig

Constant values pertaining to the MT Connector Windows Service

MTConnectorServiceHelper

Utility class providing information about the installation state and service status of the MineTrustConnector Service.

PackageConfiguration

Class defining a package configuration. Instances of this class are serializable to/from JSON

PackageConfigurationHelper

Utility class providing operations for management of PackageConfiguration instances on the local machine. Provides high-level operations for location, loading and saving of instances, as well as some common business layer meanings (i.e. server configurations, archived & deleted configurations etc.)

PackageContentsHelper

Utility class providing operations for managing the contents of individual instances of PackageConfiguration. Provides mechanisms for manipulating the inclusion and exclusion manifests of the configuration, as well as mechanisms for evaluating a given instance's definition against the user's local machine.

PackageMetrics

Object which describes various package metrics for packages whose contents are deterministically defined by the 'Include' configuration - i.e. the 'Include' configuration of the package is non- empty and contains no wildcards. For packages that are not deterministically defined, all metrics have their default value of -1.

PackageValidationArgs

Exception indicating that package configuration was incorrect

SkipSynchronisationAttribute

Property attribute which indicates that the decorated property is a local setting and should be redacted by MT Connector before entering synchronisation logic.

TagConstants

Static class of tag constants

Enums

CreateVersionResultCodes

Return codes for CreateVersion and their meanings

EnablePackageResultCodes

Return codes for EnablePackage and their meanings

LockPackageResultCodes

Return codes for LockPackage and their meanings

LogEvent

Enumeration of the log event IDs and formats that are shared by both the Dashboard and Service components

PrintDiagnosticsResultCodes

Return codes for PrintDiagnostics and their meanings

RegisterServerResultCodes

Return codes for RegisterServer and their meanings

SyncNowResultCodes

Return codes for SyncNow and their meanings

UnlockPackageResultCodes

Return codes for UnlockPackage and their meanings

UpdateLocalResultCodes

Return codes for UpdateLocal and their meanings

UpdateServerResultCodes

Return codes for UpdateServer and their meanings

Delegates

MTConnectorClient.FilesReceivedCallback

Delegate which handles a collection of files received from MineTrust. The records handled by the delegate should all be enriched by their LocalFilePath member.

MTConnectorClient.PackageSelectionCallback

Delegate which selects a destination package for the incoming LocalFileRecord. Returning null from the delegate skips processing of this file.