TableContractResolver.CreateContract(Type) Method

Definition

Gets the contract for a given type. The type System.Web.Http.OData.Delta`1 is treated specially whereas all other types are handled by the base class.

protected override Newtonsoft.Json.Serialization.JsonContract CreateContract (Type objectType);
override this.CreateContract : Type -> Newtonsoft.Json.Serialization.JsonContract
Protected Overrides Function CreateContract (objectType As Type) As JsonContract

Parameters

objectType
Type

The type to get the contract for.

Returns

Newtonsoft.Json.Serialization.JsonContract

A Newtonsoft.Json.Serialization.JsonContract for the given type.

Applies to