PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Aspect­Infrastructure Namespace / Aspect­Dependency­Condition Class / Aspect­Dependency­Condition Methods / Aspect­Dependency­Condition.​Match Method

AspectDependencyCondition.Match Method

Determines whether a pair of objects match the current condition.

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public abstract 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