Interface IDictionaryPropertyVisitor
Interface for receiving strongly typed property callbacks for dictionaries.
Namespace: Unity.Properties
Syntax
public interface IDictionaryPropertyVisitor
Remarks
Methods
Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary>, ref TContainer, ref TDictionary)
Implement this method to accept visitation for a specialized dictionary property.
Declaration
void Visit<TContainer, TDictionary, TKey, TValue>(Property<TContainer, TDictionary> property, ref TContainer container, ref TDictionary dictionary)
where TDictionary : IDictionary<TKey, TValue>
Parameters
Type | Name | Description |
---|---|---|
Property<TContainer, TDictionary> | property | The property being visited. |
TContainer | container | The container being visited. |
TDictionary | dictionary | The dictionary value. |
Type Parameters
Name | Description |
---|---|
TContainer | The container type. |
TDictionary | The dictionary value type. |
TKey | The key type. |
TValue | The value type. |
Remarks
This method is invoked by IDictionaryPropertyAccept<TDictionary>