WCF-Xtensions Class Reference for Mono
CreateLinqContract Method






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

Parameters

objectType
Type of the object.

Return Value

A JsonLinqContract 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