Exemple #1
0
 /// <summary>
 /// Gets conditions that can be chained for <see cref="ReadOnlyDictionary{TKey,TValue}"/>.
 /// </summary>
 /// <typeparam name="TKey">The type of the key.</typeparam>
 /// <typeparam name="TValue">The type of the value.</typeparam>
 /// <param name="source">The source <see cref="ReadOnlyDictionary{TKey,TValue}"/>.</param>
 /// <returns><see cref="IChainableEnumerableCondition{TSource,TObject}"/></returns>
 public static IChainableEnumerableCondition <ReadOnlyDictionary <TKey, TValue>, KeyValuePair <TKey, TValue> > If <TKey, TValue>(this ReadOnlyDictionary <TKey, TValue> source)
 => source.IfEnumerable <ReadOnlyDictionary <TKey, TValue>, KeyValuePair <TKey, TValue> >();