PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Formatter­Repository(TRole) Class / Formatter­Repository(TRole) Methods / Formatter­Repository(TRole).​Get Method / Formatter­Repository(TRole).​Get(T) Method

FormatterRepository<TRole>.Get<T> Method

Returns the formatter for the type T.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public static IFormatter<T> Get<T>()

Type Parameters

T

Return Value

Type: IFormatter<T>
See Also