Base class for providers of error messages. Implements chain of responsibility between multiple providers.
Namespace: PostSharp.Patterns.Utilities
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class LocalizedTextProviderRemarks
Each chain of providers has it's own base class derived from this one, which contains static field Current that points to current
provider.
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, params object[]). |
| GetMessage(string) | Gets a message declared by the LocalizedTextProvider or the rest of responsibility chain if applicable. |