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.​Format­Condition Method

SameAspectInstanceDependencyCondition.FormatCondition Method

Gets a human-readable string explaining the fact that a dependency object matches 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 string FormatCondition(
	IAspectDependencyObject right
)

Parameters

right
Type: PostSharp.Sdk.AspectInfrastructure.IAspectDependencyObject
A dependency object, evaluated in the right member of the condition.

Return Value

Type: String
A human-readable string explain that the object on the left of the string does not match the current condition, where the right member of the condition is right. For instance: "equals <right>\"{0}\""
See Also