Share via


PrimitiveTypeConfiguration Constructor

This constructor is public only for unit testing purposes. To get a PrimitiveTypeConfiguration use ODataModelBuilder.GetTypeConfigurationOrNull(Type).

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    builder As ODataModelBuilder, _
    edmType As IEdmPrimitiveType, _
    clrType As Type _
)
'Usage
Dim builder As ODataModelBuilder 
Dim edmType As IEdmPrimitiveType 
Dim clrType As Type 

Dim instance As New PrimitiveTypeConfiguration(builder, _
    edmType, clrType)
public PrimitiveTypeConfiguration(
    ODataModelBuilder builder,
    IEdmPrimitiveType edmType,
    Type clrType
)
public:
PrimitiveTypeConfiguration(
    ODataModelBuilder^ builder, 
    IEdmPrimitiveType^ edmType, 
    Type^ clrType
)
new : 
        builder:ODataModelBuilder * 
        edmType:IEdmPrimitiveType * 
        clrType:Type -> PrimitiveTypeConfiguration
public function PrimitiveTypeConfiguration(
    builder : ODataModelBuilder, 
    edmType : IEdmPrimitiveType, 
    clrType : Type
)

Parameters

  • edmType
    Type: IEdmPrimitiveType

See Also

Reference

PrimitiveTypeConfiguration Class

System.Web.Http.OData.Builder Namespace