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

FormatterRepository<TRole>.Get Method

Overload List
Public methodStatic memberGet<T>()
Returns the formatter for the type T.
Public methodStatic memberGet(Type)
Returns a formatter for a specific object. This overload should be used when the type of the object is not known at build time because the type is non-sealed.
See Also