Class Filter
Represents a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.
public class Filter
- Inheritance
-
Filter
- Inherited Members
Constructors
Filter(object, FilterScope, int?)
Initializes a new instance of the Filter class.
public Filter(object instance, FilterScope scope, int? order)
Parameters
instance
objectThe instance.
scope
FilterScopeThe scope.
order
int?The order.
Fields
DefaultOrder
Represents a constant that is used to specify the default ordering of filters.
public const int DefaultOrder = -1
Field Value
Properties
Instance
Gets the instance of this class.
public object Instance { get; protected set; }
Property Value
- object
The instance of this class.
Order
Gets the order in which the filter is applied.
public int Order { get; protected set; }
Property Value
- int
The order in which the filter is applied.
Scope
Gets the scope ordering of the filter.
public FilterScope Scope { get; protected set; }
Property Value
- FilterScope
The scope ordering of the filter.