Table of Contents

Class FormatterRegistry

Namespace
Conjecture.Core
Assembly
Conjecture.Core.dll

Global registry mapping types to their IStrategyFormatter<T> instances.

public static class FormatterRegistry
Inheritance
FormatterRegistry
Inherited Members

Methods

Get<T>()

Returns the registered formatter for T, or null if none is registered.

public static IStrategyFormatter<T>? Get<T>()

Returns

IStrategyFormatter<T>

Type Parameters

T

Register<T>(IStrategyFormatter<T>?)

Registers formatter for type T, replacing any existing registration.

public static void Register<T>(IStrategyFormatter<T>? formatter)

Parameters

formatter IStrategyFormatter<T>

Type Parameters

T