Interface IVisit<TContainer, TValue>
Implement this interface to intercept the visitation for a specific
Namespace: Unity.Properties.Adapters.Contravariant
Syntax
public interface IVisit<TContainer, in TValue> : IPropertyVisitorAdapter
Type Parameters
Name | Description |
---|---|
TContainer | The container type being visited. |
TValue | The value type being visited. |
Remarks
Methods
Visit(IProperty<TContainer>, ref TContainer, TValue)
Invoked when the visitor encounters specific a
Declaration
VisitStatus Visit(IProperty<TContainer> property, ref TContainer container, TValue value)
Parameters
Type | Name | Description |
---|---|---|
IProperty<TContainer> | property | The property being visited. |
TContainer | container | The container being visited. |
TValue | value | The value being visited. |
Returns
Type | Description |
---|---|
VisitStatus | The return status of the adapter. |