PostSharp SDK 2023.0 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Weaver.​Dependencies Namespace / Same­Aspect­Instance­Dependency­Condition Class / Same­Aspect­Instance­Dependency­Condition Methods / Same­Aspect­Instance­Dependency­Condition.​Match Method

SameAspectInstanceDependencyCondition.Match Method

Determines whether a pair of objects match the current condition.

Namespace:  PostSharp.Sdk.AspectWeaver.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public override bool Match(
	IAspectDependencyObject left,
	IAspectDependencyObject right
)

Parameters

left
Type: PostSharp.Sdk.AspectInfrastructure.IAspectDependencyObject
Left member of the condition.
right
Type: PostSharp.Sdk.AspectInfrastructure.IAspectDependencyObject
Right member of the condition.

Return Value

Type: Boolean
true if left and right match the condition, otherwise false.
See Also