MemberConditionAttribute.IsConditionMet Property

Definition

Gets a value indicating whether the condition is met. The implementation of this property shouldn't read the Mode property.

public override bool IsConditionMet { get; }
member this.IsConditionMet : bool
Public Overrides ReadOnly Property IsConditionMet As Boolean

Property Value

Remarks

All referenced members are evaluated in order and combined with a logical AND. Throws InvalidOperationException if a member can't be resolved as a publicstaticBoolean property, field, or parameterless method. Resolved members are cached after the first access so subsequent evaluations don't pay the reflection cost again.

Applies to