PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Utilities Namespace/Localized­Text­Provider Class/Localized­Text­Provider Methods/Localized­Text­Provider.​Get­Message Method

LocalizedTextProvider.GetMessage Method

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

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public virtual string GetMessage(
	string messageId
)

Parameters

messageId
Type: System.String
Identifier of the message.

Return Value

Type: 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.

See Also