Table of Contents

Class MetadataNode<TMetadata>

Namespace
Motiv.Shared
Assembly
Motiv.dll

Represents a node in the metadata hierarchy.

public class MetadataNode<TMetadata>

Type Parameters

TMetadata

The type of the metadata.

Inheritance
MetadataNode<TMetadata>
Inherited Members
Extension Methods

Constructors

MetadataNode(IEnumerable<TMetadata>, IEnumerable<BooleanResultBase<TMetadata>>)

Initializes a new instance of the MetadataNode class.

public MetadataNode(IEnumerable<TMetadata> metadata, IEnumerable<BooleanResultBase<TMetadata>> causes)

Parameters

metadata IEnumerable<TMetadata>

The metadata to associate with this node.

causes IEnumerable<BooleanResultBase<TMetadata>>

The causes of the metadata.

MetadataNode(TMetadata, IEnumerable<BooleanResultBase<TMetadata>>)

Initializes a new instance of the MetadataNode class with a single metadata item.

public MetadataNode(TMetadata metadata, IEnumerable<BooleanResultBase<TMetadata>> causes)

Parameters

metadata TMetadata

The metadata to associate with this node.

causes IEnumerable<BooleanResultBase<TMetadata>>

The causes of the metadata.

Properties

Metadata

Gets the metadata associated with this node.

public IEnumerable<TMetadata> Metadata { get; }

Property Value

IEnumerable<TMetadata>

Underlying

Gets the underlying metadata nodes.

public IEnumerable<MetadataNode<TMetadata>> Underlying { get; }

Property Value

IEnumerable<MetadataNode<TMetadata>>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.