PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Dependencies Namespace / Same­Aspect­Instance­Dependency­Condition Class

SameAspectInstanceDependencyCondition Class

An AspectDependencyCondition that evaluates to true if two dependency objects are related to the same aspect instance.
Inheritance Hierarchy

Namespace:  PostSharp.Sdk.AspectWeaver.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public sealed class SameAspectInstanceDependencyCondition : AspectDependencyCondition

The SameAspectInstanceDependencyCondition type exposes the following members.

Public methodSameAspectInstanceDependencyCondition
Initializes a new instance of the SameAspectInstanceDependencyCondition class
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