EqualsFilterRule<T> Class

Definition

The EqualsFilterRule class evaluates an IComparable item to check if it is equal to the rule's value.

generic <typename T>
 where T : IComparablepublic ref class EqualsFilterRule : Microsoft::Management::UI::Internal::SingleValueComparableValueFilterRule<T>
[System.Serializable]
public class EqualsFilterRule<T> : Microsoft.Management.UI.Internal.SingleValueComparableValueFilterRule<T> where T : IComparable
[<System.Serializable>]
type EqualsFilterRule<'T (requires 'T :> IComparable)> = class
    inherit SingleValueComparableValueFilterRule<'T (requires 'T :> IComparable)>
Public Class EqualsFilterRule(Of T)
Inherits SingleValueComparableValueFilterRule(Of T)

Type Parameters

T

The generic parameter.

Inheritance
Derived
Attributes

Constructors

EqualsFilterRule<T>()

Initializes a new instance of the EqualsFilterRule class.

Properties

DefaultNullValueEvaluation

Gets or sets a value indicating whether null objects passed to Evaluate will evaluate to true or false.

(Inherited from ComparableValueFilterRule<T>)
DisplayName

Gets a display friendly name for the FilterRule.

(Inherited from FilterRule)
IsValid

Gets a value indicating whether the FilterRule can be evaluated in its current state.

(Inherited from SingleValueComparableValueFilterRule<T>)
Value

Gets a value that holds user input.

(Inherited from SingleValueComparableValueFilterRule<T>)

Methods

Evaluate(Object)

Determines if item matches a derived classes criteria.

(Inherited from ComparableValueFilterRule<T>)
Evaluate(T)

Determines if item is equal to Value.

NotifyEvaluationResultInvalidated()

Fires EvaluationResultInvalidated.

(Inherited from FilterRule)

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