PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / IComparable­Aspect­Dependency­Object Interface

IComparableAspectDependencyObject Interface

Defines the semantics of an object that can be compared to another using the aspect dependency framework: A class that implements this interface is sorted among all other instances this way instead of using priority or aspect ordering.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface IComparableAspectDependencyObject : IAspectDependencyObject

The IComparableAspectDependencyObject type exposes the following members.

Public propertyDependencies
Gets the set of dependencies attached to the current object. The current object is the left member of all dependencies.
(Inherited from IAspectDependencyObject.)
Public propertyIsCommutative
Determines whether the current object is commutative with any other object, irrespective of dependencies or effects. If yes, then PostSharp can apply it in any order with respect to other objects.
(Inherited from IAspectDependencyObject.)
Public methodCompareTo
Determines the position of another object (considered the right member of the comparison) with respect to the current object (considered the left member of the comparison).
Public methodGetDisplayName
Gets a human-readable string representing the current object.
(Inherited from IAspectDependencyObject.)
Public methodHasEffect
Determines whether the current object has a given effect.
(Inherited from IAspectDependencyObject.)
See Also