Namespace Datamine.MineTrustConnector.Core.ConfigSchemas

Classes

ConfigSchema

Class representation of a config schema built from a specific root location (or the entire local config hierarchy, if a root was unspecified)

ConfigSchemaHelper

Utility class for processing config schemas

ConfigSchemaItem

Class representation of a supported value within the local config schema.

MetadataFileBase

Abstract implementation of IMetadataFile which provides common save and load method implementations into an in-memory byte array.

TextMetadataFile

Implementation of IMetadataFile which stores simple key value pairs within a regular text file using the following format: %KEY1%=%VALUE1% %KEY2%=%VALUE2% ...

XmlMetadataFile

Hierarchical implementation of IMetadataFile which stores the backing config data in XML format. The XML structure is given by hierarchical 'metadata' and 'item' elements, where each metadata element supports multiple items and items can themselves have metadata children. The config values and keys are then given by the 'name' attributes of these elements: <?xml version="1.0" encoding="utf-8"?> <metadata name = " Operation"> <item name = " Geita"> <metadata name = " Pit"> <item name = " Nyankanga"> <metadata name = " Project"> <item name = " Cut 12" /> ...

Interfaces

IMetadataFile

Abstraction over a mechanism for reading and writing config schema data to and from a file