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

AndDependencyCondition Class

An AspectDependencyCondition aggregating several other child conditions and evaluating to true if all child conditions evaluate to true.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.AspectInfrastructure.AspectDependencyCondition
    PostSharp.Sdk.AspectInfrastructure.Dependencies.AndDependencyCondition

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 AndDependencyCondition : AspectDependencyCondition

The AndDependencyCondition type exposes the following members.

Constructors
  NameDescription
Public methodAndDependencyCondition
Initializes a new AndDependencyCondition
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