PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityIFormatting­Service
Open sandboxFocus

IFormattingService Interface

Provides a service similar to System.String.Format(System.String,System.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 System.Reflection.MethodInfo.

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

Methods

Name Description
Format(IFormatProvider, String, Object[])

Formats a string and specifies the System.IFormatProvider.

Format(String, Object[])

Formats a string with the default System.IFormatProvider.