PostSharpAPI 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 System.Type or 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 IFormatProvider.

Format(String, Object[])

Formats a string with the default IFormatProvider.