LocationContractAttribute.FormatErrorMessage Method |
Namespace: PostSharp.Patterns.Contracts
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
protected string FormatErrorMessage( Object value, string locationName, LocationKind locationKind )
Parameters
- value
- Type: System.Object
Value assigned to the location. - locationName
- Type: System.String
Name of the location. - locationKind
- Type: PostSharp.Reflection.LocationKind
Location kind.
Return Value
Type: StringA string derived from ErrorMessage, where placeholders have been replaced by their concrete value.