Open sandboxFocus

Method SetDynamic

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 object class are always resolved dynamically.

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

Type of the parameter.