PostSharpAPI ReferencePost­Sharp.​Patterns.​UtilitiesLocalized­Text­Provider
Open sandboxFocus

Class LocalizedTextProvider

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 Format(String, Object[]).

GetMessage(String)

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