PostSharp 6.5 / / 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.5.17.0 (6.5.17.0)
Syntax
C#
public static IFormatter<T> Get<T>()

Type Parameters

T

Return Value

Type: IFormatter<T>
See Also