Interface IExcludeContravariantPropertyAdapter<TValue>
Implement this interface to filter visitation for a specific
Namespace: Unity.Properties
Syntax
public interface IExcludeContravariantPropertyAdapter<in TValue> : IPropertyVisitorAdapter
Type Parameters
| Name | Description |
|---|---|
| TValue | The value type. |
Methods
IsExcluded<TContainer>(in ExcludeContext<TContainer>, ref TContainer, TValue)
Invoked when the visitor encounters any property.
Declaration
bool IsExcluded<TContainer>(in ExcludeContext<TContainer> context, ref TContainer container, TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| ExcludeContext<TContainer> | context | The context being visited. |
| TContainer | container | The container being visited. |
| TValue | value | The value being visited. |
Returns
| Type | Description |
|---|---|
| Boolean |
Type Parameters
| Name | Description |
|---|---|
| TContainer | The container type being visited. |