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

AspectDependencyCondition.FormatCondition Method

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

Namespace:  PostSharp.Sdk.AspectInfrastructure
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: (
public abstract string FormatCondition(
	IAspectDependencyObject 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