TableContractResolver.CreateContract Method (Type)
Gets the contract for a given type. The type Delta<TEntityType> is treated specially whereas all other types are handled by the base class.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Serialization
Assembly: Microsoft.WindowsAzure.Mobile.Service.Tables (in Microsoft.WindowsAzure.Mobile.Service.Tables.dll)
Syntax
protected override JsonContract CreateContract(
Type objectType
)
protected:
virtual JsonContract^ CreateContract(
Type^ objectType
) override
override CreateContract :
objectType:Type -> JsonContract
Protected Overrides Function CreateContract (
objectType As Type
) As JsonContract
Parameters
objectType
Type: System.TypeThe type to get the contract for.
Return Value
Type: Newtonsoft.Json.Serialization.JsonContract
A JsonContract for the given type.
See Also
TableContractResolver Class
Microsoft.WindowsAzure.Mobile.Service.Serialization Namespace
Return to top