PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Contracts Namespace/Contract­Localized­Text­Provider Class/Contract­Localized­Text­Provider Methods

ContractLocalizedTextProvider Methods

The ContractLocalizedTextProvider type exposes the following members.

Methods
  NameDescription
Public methodFormatString
Formats a string. An implementation would typically invoke Format(String, Object[]).
(Inherited from LocalizedTextProvider.)
Public methodGetFormattedMessage
Gets a message template using GetMessage(String) and formats it using the values in exceptionInfo.
Public methodStatic memberGetFormattingStringArguments
Returns an array of arguments that can be passed to the Format(String, Object[]) method
Public methodGetMessage
Gets a message declared by the LocalizedTextProvider or the rest of responsibility chain if applicable.
(Overrides LocalizedTextProvider.GetMessage(String).)
See Also