Interface ICollectionPropertyBagVisitor
Interface for visiting property bags.
Namespace: Unity.Properties
Syntax
public interface ICollectionPropertyBagVisitor
Methods
Visit<TCollection, TElement>(ICollectionPropertyBag<TCollection, TElement>, ref TCollection)
Implement this method to accept visitation for a collection of properties.
Declaration
void Visit<TCollection, TElement>(ICollectionPropertyBag<TCollection, TElement> properties, ref TCollection container)
where TCollection : ICollection<TElement>
Parameters
Type | Name | Description |
---|---|---|
ICollectionPropertyBag<TCollection, TElement> | properties | The properties of the container. |
TCollection | container | The container being visited. |
Type Parameters
Name | Description |
---|---|
TCollection | The list type. |
TElement | The element type. |
Remarks
This method is invoked by Accept(ICollectionPropertyBagVisitor, ref TContainer).