PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​UtilitiesLocalized­Text­Provider
Open sandboxFocus

LocalizedTextProvider Class

Base class for providers of error messages. Implements chain of responsibility between multiple providers.

Inheritance
LocalizedTextProvider
Namespace: PostSharp.Patterns.Utilities
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class LocalizedTextProvider : Object

Constructors

Name Description
LocalizedTextProvider(LocalizedTextProvider)

Initializes a new instance of LocalizedTextProvider class.

Methods

Name Description
FormatString(String, Object[])

Formats a string. An implementation would typically invoke System.String.Format(System.String,System.Object[]).

GetMessage(String)

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