Share via


SingletonConfiguration.HasDerivedTypeConstraint<TDerivedType> Method

Definition

Adds TDerived to the list of derived type constraints.

public Microsoft.AspNet.OData.Builder.SingletonConfiguration HasDerivedTypeConstraint<TDerivedType> ();
member this.HasDerivedTypeConstraint : unit -> Microsoft.AspNet.OData.Builder.SingletonConfiguration
Public Function HasDerivedTypeConstraint(Of TDerivedType) () As SingletonConfiguration

Type Parameters

TDerivedType

Returns

Updated configuration object.

Applies to