Open sandboxFocus

Interface IFormattingService

Provides a service similar to Format(string, params object[]), but uses the same formatter as the one that PostSharp uses for error messages. This formatter formats objects like Type or MethodInfo better.

Namespace: PostSharp.Extensibility
Assembly: PostSharp.dll
Syntax
public interface IFormattingService : IService

Methods

Name Description
Format(IFormatProvider, string, params object[])

Formats a string and specifies the IFormatProvider.

Format(string, params object[])

Formats a string with the default IFormatProvider.