A TypeExtensionFactory for types deriving or implementing T
, where those types must have a constructor accepting a single argument of type TContext
.
Namespace: Flashtrace.Formatters.TypeExtensions
Assembly: Flashtrace.Formatters.dll
Syntax
public class TypeExtensionFactory<T, TContext> : TypeExtensionFactoryBase<T> where T : class
Type Parameters
Name | Description |
---|---|
T | |
TContext |
Constructors
Name | Description |
---|---|
TypeExtensionFactory(Type, Type?, Type?, TContext?) |
Methods
Name | Description |
---|---|
Convert(T?, Type) | |
GetTypeExtension(Type, TypeExtensionCacheUpdateCallback<T>?, Func<T?>?, Action<Exception>?) | |
RegisterTypeExtension(Type, Type) |