PropertyValueSelectorFilterRule<T> Class

Definition

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
PropertyValueSelectorFilterRule<T>
Attributes

Constructors

PropertyValueSelectorFilterRule<T>(String, String)

Creates a new PropertyValueSelectorFilterRule instance.

PropertyValueSelectorFilterRule<T>(String, String, IEnumerable<FilterRule>)

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.

Applies to