Class ConfigSchema

Namespace
Datamine.MineTrustConnector.Core.ConfigSchemas
Assembly
Datamine.MineTrustConnector.Core.dll

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

public class ConfigSchema
Inheritance
ConfigSchema
Inherited Members

Constructors

ConfigSchema(string?)

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

public ConfigSchema(string? root = null)

Parameters

root string

The config schema root.

Properties

Items

Gets the top-level items within this schema

public IEnumerable<ConfigSchemaItem> Items { get; }

Property Value

IEnumerable<ConfigSchemaItem>

The items.

Root

Gets the root of this schema.

public string? Root { get; }

Property Value

string

The root.

Methods

Enumerate()

Recursively enumerates all items within this schema

public IEnumerable<ConfigSchemaItem> Enumerate()

Returns

IEnumerable<ConfigSchemaItem>

The entire config enumeration