public JsonOperationBodyWriter(OperationDescription operationDescription, CustomJsonSerializerOperationBehavior serializerOperationBehavior, IList<Type> knownTypes, object[] operationParameters)
     : base(true)
 {
     this.operationDescription = operationDescription;
     this.serializerOperationBehavior = serializerOperationBehavior;
     this.knownTypes = knownTypes;
     this.operationParameters = operationParameters;
 }
 public JsonClientFormatter(OperationDescription operationDescription, CustomJsonSerializerOperationBehavior serializerOperationBehavior)
 {
     this.operationDescription = operationDescription;
     this.serializerOperationBehavior = serializerOperationBehavior;
     this.knownTypes = new List<Type>();
     foreach (Type type in operationDescription.KnownTypes)
     {
         this.knownTypes.Add(type);
     }
 }