Struct VisitContext<TContainer, TValue>
Context object used during visitation when a IProperty<TContainer> is visited.
Inherited Members
Namespace: Unity.Properties
Syntax
public readonly struct VisitContext<TContainer, TValue>
Type Parameters
Name | Description |
---|---|
TContainer | The container type of the IProperty. |
TValue | The value type of the IProperty. |
Properties
Property
The property being visited.
Declaration
public readonly Property<TContainer, TValue> Property { get; }
Property Value
Type | Description |
---|---|
Property<TContainer, TValue> |
Methods
ContinueVisitation(ref TContainer, ref TValue)
Continues visitation through the next visitation adapter.
Declaration
public readonly void ContinueVisitation(ref TContainer container, ref TValue value)
Parameters
Type | Name | Description |
---|---|---|
TContainer | container | The container being visited. |
TValue | value | The value being visited. |
ContinueVisitationWithoutAdapters(ref TContainer, ref TValue)
Continues visitation while skipping the next visitation adapters.
Declaration
public readonly void ContinueVisitationWithoutAdapters(ref TContainer container, ref TValue value)
Parameters
Type | Name | Description |
---|---|---|
TContainer | container | The container being visited. |
TValue | value | The value being visited. |