IReadOnlyDictionaryExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IReadOnlyDictionaryExtensions"] class Type type-node

Syntax

public static class IReadOnlyDictionaryExtensions

Methods

Name Return Value Summary
ContainsAnyKeys<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, IEnumerable<TKey>) bool
Determines whether the dictionary contains all the specified keys.
static
ContainsAnyKeys<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, TKey[]) bool
Determines whether the dictionary contains all the specified keys.
static
ContainsKeys<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, IEnumerable<TKey>) bool
Determines whether the dictionary contains all the specified keys.
static
ContainsKeys<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>, TKey[]) bool
Determines whether the dictionary contains all the specified keys.
static
RequireKeys<TKey, TValue>(IReadOnlyDictionary<TKey, 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.
static
RequireKeys<TKey, TValue>(IReadOnlyDictionary<TKey, 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.
static