MetalamaAPI documentationFlashtrace APIFlashtrace.​FormattersFormatter­Repository.​BuilderSet­Dynamic
Open sandboxFocus

FormatterRepository.Builder.SetDynamic Method

SetDynamic<T>()

Requests that formatters for parameters of a given type will be resolved according to the type of the parameter value, not to the type of the parameter itself. Interfaces, abstract classes and the System.Object class are always resolved dynamically.

Declaration
public void SetDynamic<T>()
where T : class
Type Parameters
Name Description
T

Type of the parameter.