Interface IVisitPropertyAdapter
Implement this interface to handle visitation for all properties.
Namespace: Unity.Properties
Syntax
public interface IVisitPropertyAdapter : IPropertyVisitorAdapter
Remarks
Methods
Visit<TContainer, TValue>(in VisitContext<TContainer, TValue>, ref TContainer, ref TValue)
Invoked when the visitor encounters any property.
Declaration
void Visit<TContainer, TValue>(in VisitContext<TContainer, TValue> context, ref TContainer container, ref TValue value)
Parameters
Type | Name | Description |
---|---|---|
VisitContext<TContainer, TValue> | context | The context being visited. |
TContainer | container | The container being visited. |
TValue | value | The value being visited. |
Type Parameters
Name | Description |
---|---|
TContainer | The container type being visited. |
TValue | The value type being visited. |