IMetadataDictionary Interface

Summary

A mutable Wyam.Common.Meta.IMetadata implementation that works like a dictionary.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Meta
Interfaces
  • IDictionary<string, Object>
  • IMetadata
  • IReadOnlyDictionary<string, Object>
Implementing Types
graph BT Type-.->Interface0["IDictionary<string, Object>"] Type-.->Interface1["IMetadata"] click Interface1 "/api/Wyam.Common.Meta/IMetadata" Type-.->Interface2["IReadOnlyDictionary<string, Object>"] Type["IMetadataDictionary"] class Type type-node Implementing0["TestSettings"]-.->Type click Implementing0 "/api/Wyam.Testing.Configuration/TestSettings" Implementing1["ConvertingDictionary"]-.->Type click Implementing1 "/api/Wyam.Common.Meta/ConvertingDictionary" Implementing2["ISettings"]-.->Type click Implementing2 "/api/Wyam.Common.Configuration/ISettings"

Syntax

public interface IMetadataDictionary : IDictionary<string, Object>, IMetadata, 
    IReadOnlyDictionary<string, Object>

Properties

Name Value Summary
Count int
The count of metadata.
Keys ICollection<string>
A collection of keys in the metadata.
this[string] Object
Gets a metadata value given the specified metadata key.
Values ICollection<Object>
A collection of values in the metadata.

Methods

Name Value Summary
ContainsKey(string) bool
Whether or not the metadata contains the specified key.
TryGetValue(string, Object) bool
Attempts to get a value from metadata.
GitHub