Interface IDictionaryPropertyBagVisitor
Interface for visiting property bags.
Namespace: Unity.Properties
Syntax
public interface IDictionaryPropertyBagVisitor
Methods
Visit<TDictionary, TKey, TValue>(IDictionaryPropertyBag<TDictionary, TKey, TValue>, ref TDictionary)
Implement this method to accept visitation for a collection of properties.
Declaration
void Visit<TDictionary, TKey, TValue>(IDictionaryPropertyBag<TDictionary, TKey, TValue> properties, ref TDictionary container)
where TDictionary : IDictionary<TKey, TValue>
Parameters
Type | Name | Description |
---|---|---|
IDictionaryPropertyBag<TDictionary, TKey, TValue> | properties | The properties of the container. |
TDictionary | container | The container being visited. |
Type Parameters
Name | Description |
---|---|
TDictionary | The dictionary type. |
TKey | The key type. |
TValue | The value type. |
Remarks
This method is invoked by IDictionaryPropertyBagAccept<TContainer>.