PropertyValueSelectorFilterRule<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The PropertyValueSelectorFilterRule class supports filtering against a property of an object. Based on the type of the property a collection of filter rules are available to be used.
generic <typename T>
where T : IComparablepublic ref class PropertyValueSelectorFilterRule : Microsoft::Management::UI::Internal::SelectorFilterRule
[System.Serializable]
public class PropertyValueSelectorFilterRule<T> : Microsoft.Management.UI.Internal.SelectorFilterRule where T : IComparable
[<System.Serializable>]
type PropertyValueSelectorFilterRule<'T (requires 'T :> IComparable)> = class
inherit SelectorFilterRule
Public Class PropertyValueSelectorFilterRule(Of T)
Inherits SelectorFilterRule
Type Parameters
- T
The generic parameter.
- Inheritance
- Attributes
Constructors
PropertyValueSelectorFilterRule<T>(String, String, IEnumerable<FilterRule>) |
Creates a new PropertyValueSelectorFilterRule instance. |
PropertyValueSelectorFilterRule<T>(String, String) |
Creates a new PropertyValueSelectorFilterRule instance. |
Properties
AvailableRules |
Gets the collection of available rules. (Inherited from SelectorFilterRule) |
DisplayName |
Gets a display friendly name for the FilterRule. (Inherited from FilterRule) |
IsValid |
Gets a value indicating whether the rule can be evaluated. (Inherited from SelectorFilterRule) |
PropertyName |
Gets the name of the property on the item to evaluate which holds the real value which should be evaluated. |
Methods
Evaluate(Object) |
Evaluates whether the item is inclusive. |
NotifyEvaluationResultInvalidated() |
Fires EvaluationResultInvalidated. (Inherited from FilterRule) |
OnSelectedValueChanged(FilterRule, FilterRule) |
Called when the SelectedValue within AvailableRules changes. (Inherited from SelectorFilterRule) |
Events
EvaluationResultInvalidated |
Occurs when the values of this rule changes. (Inherited from FilterRule) |
Extension Methods
DeepCopy(FilterRule) |
Creates a deep copy of a FilterRule. |