Newtonsoft.Json.Serialization.DefaultContractResolver.CreateLinqContract C# (CSharp) Method

CreateLinqContract() protected method

Creates a JsonLinqContract for the given type.
protected CreateLinqContract ( Type objectType ) : JsonLinqContract
objectType System.Type Type of the object.
return JsonLinqContract
    protected virtual JsonLinqContract CreateLinqContract(Type objectType)
    {
      JsonLinqContract contract = new JsonLinqContract(objectType);
      InitializeContract(contract);

      return contract;
    }