Edit

Share via


TypeDescriptionProvider.RequireRegisteredTypes Property

Definition

Gets a value that indicates whether the provider uses reflection and requires types to be registered through RegisterType<T>() to support trimmed applications.

public:
 virtual property Nullable<bool> RequireRegisteredTypes { Nullable<bool> get(); };
public virtual bool? RequireRegisteredTypes { get; }
member this.RequireRegisteredTypes : Nullable<bool>
Public Overridable ReadOnly Property RequireRegisteredTypes As Nullable(Of Boolean)

Property Value

Remarks

For backwards compatibility, this is typically only enforced when calling members that have "FromRegisteredType" suffix.

Applies to