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

AndDependencyCondition.FormatCondition Method

Gets a human-readable string explaining the fact that a dependency object matches the current condition.

Namespace:  PostSharp.Sdk.AspectInfrastructure.Dependencies
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.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