Interface IExclude<TValue>
Implement this interface to filter visitation for a specific
Namespace: Unity.Properties.Adapters.Contravariant
Syntax
public interface IExclude<in TValue> : IPropertyVisitorAdapter
Type Parameters
Name | Description |
---|---|
TValue | The value type. |
Methods
IsExcluded<TContainer>(IProperty<TContainer>, ref TContainer, TValue)
Invoked when the visitor encounters any property.
Declaration
bool IsExcluded<TContainer>(IProperty<TContainer> property, ref TContainer container, TValue value)
Parameters
Type | Name | Description |
---|---|---|
IProperty<TContainer> | property | The property being visited. |
TContainer | container | The container being visited. |
TValue | value | The value being visited. |
Returns
Type | Description |
---|---|
Boolean | true if visitation should be skipped, false otherwise. |
Type Parameters
Name | Description |
---|---|
TContainer | The container type being visited. |