Interface IPropertyAccept<TContainer>
Interface for accepting property visitation.
Namespace: Unity.Properties
Syntax
public interface IPropertyAccept<TContainer>
Type Parameters
| Name | Description |
|---|---|
| TContainer | The container type. |
Methods
Accept(IPropertyVisitor, ref TContainer)
Call this method to invoke Visit<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer) with the strongly typed container and value.
Declaration
void Accept(IPropertyVisitor visitor, ref TContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyVisitor | visitor | The visitor being run. |
| TContainer | container | The container being visited. |