PostSharp6.4/API Reference/Post­Sharp.​Extensibility Namespace/IFormatting­Service Interface

IFormattingService Interface

Provides a service similar to Format(String, 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 (in PostSharp.dll) Version: 6.4.3.0 (6.4.3.0)
Syntax
C#
public interface IFormattingService : IService
Methods
  NameDescription
Public methodFormat(String, Object[]) Obsolete.
Formats a string with the default IFormatProvider.
Public methodFormat(IFormatProvider, String, Object[])
Formats a string and specifies the IFormatProvider.
See Also