PostSharp SDK 2023.0 / / 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

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

The OrDependencyCondition type exposes the following members.

Public methodOrDependencyCondition
Initializes a new OrDependencyCondition.
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