PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Aspect­Dependency­Resolver Class / Aspect­Dependency­Resolver Methods / Aspect­Dependency­Resolver.​Commute Method

AspectDependencyResolver.Commute Method

Determines whether two dependency objects commute.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public static bool Commute(
	IAspectDependencyObject left,
	IAspectDependencyObject right
)

Parameters

left
Type: PostSharp.Sdk.AspectInfrastructure.IAspectDependencyObject
A dependency object.
right
Type: PostSharp.Sdk.AspectInfrastructure.IAspectDependencyObject
A dependency object.

Return Value

Type: Boolean
true if left and right commute, otherwise false.
See Also