TypeDescriptionProvider.RequireRegisteredTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.