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