Open sandboxFocus

Interface IFormattingService

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

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.