PostSharpAPI ReferencePost­Sharp.​Patterns.​ContractsContract­Localized­Text­ProviderGet­Message
Open sandboxFocus

Method GetMessage

GetMessage(String)

Gets a message declared by the LocalizedTextProvider or the rest of responsibility chain if applicable.

Declaration
public override string GetMessage(string messageId)
Parameters
Type Name Description
String messageId

Identifier of the message.

Returns
Type Description
String

Message represented by messageId. Returning null is not allowed.

Overrides
LocalizedTextProvider.GetMessage(String)