Interface ICollectionPropertyAccept<TCollection>
Interface for accepting collection property visitation.
Namespace: Unity.Properties
Syntax
public interface ICollectionPropertyAccept<TCollection>
Type Parameters
| Name | Description |
|---|---|
| TCollection | The collection type. |
Methods
Accept<TContainer>(ICollectionPropertyVisitor, Property<TContainer, TCollection>, ref TContainer, ref TCollection)
Call this method to invoke Visit<TContainer, TCollection, TElement>(Property<TContainer, TCollection>, ref TContainer, ref TCollection).
Declaration
void Accept<TContainer>(ICollectionPropertyVisitor visitor, Property<TContainer, TCollection> property, ref TContainer container, ref TCollection collection)
Parameters
| Type | Name | Description |
|---|---|---|
| ICollectionPropertyVisitor | visitor | The visitor being run. |
| Property<TContainer, TCollection> | property | The property being visited. |
| TContainer | container | The container being visited. |
| TCollection | collection | The collection value |
Type Parameters
| Name | Description |
|---|---|
| TContainer | The container type. |
Remarks
This method is used to join the container type and element type.