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