PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure.​Dependencies Namespace / Or­Dependency­Condition Class

OrDependencyCondition Class

An AspectDependencyCondition aggregating several other child conditions and evaluating to true if at least one child condition evaluates to true.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectInfrastructure.AspectDependencyCondition
    PostSharp.Sdk.AspectInfrastructure.Dependencies.OrDependencyCondition

Namespace:  PostSharp.Sdk.AspectInfrastructure.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public sealed class OrDependencyCondition : AspectDependencyCondition

The OrDependencyCondition type exposes the following members.

Constructors
  NameDescription
Public methodOrDependencyCondition
Initializes a new OrDependencyCondition.
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFormatCondition
Gets a human-readable string explaining the fact that a dependency object matches the current condition.
(Overrides AspectDependencyCondition.FormatCondition(IAspectDependencyObject).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMatch
Determines whether a pair of objects match the current condition.
(Overrides AspectDependencyCondition.Match(IAspectDependencyObject, IAspectDependencyObject).)
Public methodToString
Returns a string that represents the current object.
(Overrides Object.ToString().)
See Also