WCF-Xtensions Class Reference for Mono
CreateISerializableContract Method






Type of the object.
Creates a JsonISerializableContract for the given type.
Syntax
'Declaration
 
Protected Overridable Function CreateISerializableContract( _
   ByVal objectType As System.Type _
) As JsonISerializableContract
'Usage
 
Dim instance As DefaultContractResolver
Dim objectType As System.Type
Dim value As JsonISerializableContract
 
value = instance.CreateISerializableContract(objectType)
protected virtual JsonISerializableContract CreateISerializableContract( 
   System.Type objectType
)
protected function CreateISerializableContract( 
    objectType: System.Type
): JsonISerializableContract; virtual; 
protected function CreateISerializableContract( 
   objectType : System.Type
) : JsonISerializableContract;
protected: virtual JsonISerializableContract* CreateISerializableContract( 
   System.Type* objectType
) 
protected:
virtual JsonISerializableContract^ CreateISerializableContract( 
   System.Type^ objectType
) 

Parameters

objectType
Type of the object.

Return Value

A JsonISerializableContract for the given type.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DefaultContractResolver Class
DefaultContractResolver Members

Send Feedback