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

LocalizedTextProvider.GetMessage Method

GetMessage(String)

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

Declaration
public virtual 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.

Remarks

An implementation must call the base implementation if it does not provide the requested message. The base implementation is responsible to invoke the next provider in the chain of responsibility.