Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | Public Member Functions | List of all members
Loyc.Collections.DictionaryAsSink< K, V, Dict > Class Template Reference

Helps implement extension method DictionaryExt.AsSink{K, V}(IDictionary{K, V}). More...


Source file:
Inheritance diagram for Loyc.Collections.DictionaryAsSink< K, V, Dict >:
Loyc.Collections.CollectionAsSink< T, List > Loyc.Collections.IDictionarySink< in K, in V > Loyc.WrapperBase< T > Loyc.Collections.ICollectionSink< in T > Loyc.Collections.IIndexedSink< in K, in V > Loyc.Collections.IAdd< in T >

Remarks

Helps implement extension method DictionaryExt.AsSink{K, V}(IDictionary{K, V}).

Type Constraints
Dict :IDictionary 
Dict :K 
Dict :V 

Properties

this[K key] [set]
 
- Properties inherited from Loyc.Collections.IIndexedSink< in K, in V >
this[K key] [set]
 

Public Member Functions

 DictionaryAsSink (Dict dict)
 
void Add (K key, V value)
 
bool Remove (K key)
 
- Public Member Functions inherited from Loyc.Collections.CollectionAsSink< T, List >
 CollectionAsSink (List list)
 
void Add (T item)
 
void Clear ()
 
bool Remove (T item)
 
- Public Member Functions inherited from Loyc.WrapperBase< T >
override bool Equals (object?obj)
 Returns true iff the parameter 'obj' is a wrapper around an object that is equal to the object that this object wraps. More...
 
override int GetHashCode ()
 Returns the hashcode of the wrapped object. More...
 
override string ToString ()
 Returns ToString() of the wrapped object. More...
 
- Public Member Functions inherited from Loyc.Collections.IDictionarySink< in K, in V >
void Clear ()
 

Additional Inherited Members

- Protected Member Functions inherited from Loyc.WrapperBase< T >
 WrapperBase (T wrappedObject)
 
- Protected fields inherited from Loyc.WrapperBase< T >
_obj
 
- Protected static fields inherited from Loyc.WrapperBase< T >
static readonly
EqualityComparer< T > 
TComp = EqualityComparer<T>.Default