MultiValueDictionary<TKey, TValue> Class
Namespace
Statiq.Common
Interfaces
  • IReadOnlyDictionary<TKey, IEnumerable<TValue>>
  • IReadOnlyCollection<KeyValuePair<TKey, IEnumerable<TValue>>>
  • IEnumerable<KeyValuePair<TKey, IEnumerable<TValue>>>
  • IEnumerable<KeyValuePair<TKey, TValue>>
  • IEnumerable
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IReadOnlyDictionary<TKey, IEnumerable<TValue>>"] Type-.->Interface1["IReadOnlyCollection<KeyValuePair<TKey, IEnumerable<TValue>>>"] Type-.->Interface2["IEnumerable<KeyValuePair<TKey, IEnumerable<TValue>>>"] Type-.->Interface3["IEnumerable<KeyValuePair<TKey, TValue>>"] Type-.->Interface4["IEnumerable"] Type["MultiValueDictionary<TKey, TValue>"] class Type type-node

Syntax

public class MultiValueDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, IEnumerable<TValue>>, 
    IReadOnlyCollection<KeyValuePair<TKey, IEnumerable<TValue>>>, 
    IEnumerable<KeyValuePair<TKey, IEnumerable<TValue>>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
    IEnumerable

Type Parameters

Name Description
TKey
TValue

Constructors

Properties

Name Property Type Summary
Count int
Keys IEnumerable<TKey>
this[TKey] IEnumerable<TValue>
Values IEnumerable<TValue>

Methods

Name Return Value Summary
Add(TKey, TValue) void
Contains(TKey, TValue) bool
ContainsKey(TKey) bool
GetEnumerator() IEnumerator<KeyValuePair<TKey, TValue>>

Extension Methods

Name Value Summary
ContainsAnyKeys<TKey, IEnumerable<TValue>>(IEnumerable<TKey>) bool
Determines whether the dictionary contains all the specified keys.
ContainsAnyKeys<TKey, IEnumerable<TValue>>(TKey[]) bool
Determines whether the dictionary contains all the specified keys.
ContainsKeys<TKey, IEnumerable<TValue>>(IEnumerable<TKey>) bool
Determines whether the dictionary contains all the specified keys.
ContainsKeys<TKey, IEnumerable<TValue>>(TKey[]) bool
Determines whether the dictionary contains all the specified keys.
RequireKeys<TKey, IEnumerable<TValue>>(IEnumerable<TKey>) void
Verifies that a dictionary contains all requires keys. An System.ArgumentException will be thrown if the specified keys are not all present in the dictionary.
RequireKeys<TKey, IEnumerable<TValue>>(TKey[]) void
Verifies that a dictionary contains all requires keys. An System.ArgumentException will be thrown if the specified keys are not all present in the dictionary.
ThrowIfNull<MultiValueDictionary<TKey, TValue>>(string) T
ToDocument<MultiValueDictionary<TKey, TValue>>(IContentProvider) IDocument
ToDocument<MultiValueDictionary<TKey, TValue>>(IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<MultiValueDictionary<TKey, TValue>>(NormalizedPath, IContentProvider) IDocument
ToDocument<MultiValueDictionary<TKey, TValue>>(NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument
ToDocument<MultiValueDictionary<TKey, TValue>>(NormalizedPath, NormalizedPath, IContentProvider) IDocument
ToDocument<MultiValueDictionary<TKey, TValue>>(NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) IDocument