PostSharp 2023.0 / / Post­Sharp Documentation / 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: 2023.0.3.0 (2023.0.3.0)
public interface IFormattingService : IService
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