Interface IListPropertyVisitor
Interface for receiving strongly typed property callbacks for lists.
Namespace: Unity.Properties
Syntax
public interface IListPropertyVisitor
Methods
Visit<TContainer, TList, TElement>(Property<TContainer, TList>, ref TContainer, ref TList)
Implement this method to accept visitation for a specialized list property.
Declaration
void Visit<TContainer, TList, TElement>(Property<TContainer, TList> property, ref TContainer container, ref TList list)
where TList : IList<TElement>
Parameters
Type | Name | Description |
---|---|---|
Property<TContainer, TList> | property | The property being visited. |
TContainer | container | The container being visited. |
TList | list | The list value. |
Type Parameters
Name | Description |
---|---|
TContainer | The container type. |
TList | The list value type. |
TElement | The collection element type. |
Remarks
This method is invoked by IListPropertyAccept<TList>