IMetadata<T> Interface

Summary

Contains a set of metadata converted to type T. The conversion is designed to be flexible and several different methods of type conversion are tried. Only those values that can be converted to type T are actually included in the dictionary.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Meta
Interfaces
  • IReadOnlyDictionary<string, T>
graph BT Type-.->Interface0["IReadOnlyDictionary<string, T>"] Type["IMetadata<T>"] class Type type-node

Syntax

public interface IMetadata<T> : IReadOnlyDictionary<string, T>

Type Parameters

Name Description
T The type all metadata values should be converted to.

Methods

Name Value Summary
Get(string) T
Gets the value associated with the specified key converted to T.
Get(string, T) T
Gets the value associated with the specified key converted to T.
GitHub