PostSharp / / API Reference / Post­Sharp.​Patterns.​Formatters / Formatter­Repository<TRole>

Class FormatterRepository<TRole>

Inheritance
FormatterRepository<TRole>
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class FormatterRepository<TRole> : Object where TRole : FormattingRole, new()
Type Parameters
Name Description
TRole

Constructors

Name Description
FormatterRepository()

Methods

Name Description
Get(Type)
Get<T>()
Register(Type, IFormatter)
Register(Type, Type)
Register<T>(IFormatter<T>)
Reset()
SetDynamic<T>()