Exemplo n.º 1
0
 internal VCardOutputContext(
     ODataFormat format,
     Stream messageStream,
     Encoding encoding,
     ODataMessageWriterSettings messageWriterSettings,
     bool writingResponse,
     bool synchronous,
     IEdmModel model,
     IODataUrlResolver urlResolver)
     : base(format, messageWriterSettings, writingResponse, synchronous, model, urlResolver)
 {
     this.writer       = new VCardWriter(new StreamWriter(messageStream, new UTF8Encoding(false)));
     this.outputStream = messageStream;
 }
 internal VCardOutputContext(
     ODataFormat format,
     Stream messageStream,
     Encoding encoding,
     ODataMessageWriterSettings messageWriterSettings,
     bool writingResponse,
     bool synchronous,
     IEdmModel model,
     IODataUrlResolver urlResolver)
     : base(format, messageWriterSettings, writingResponse, synchronous, model, urlResolver)
 {
     this.writer = new VCardWriter(new StreamWriter(messageStream, new UTF8Encoding(false)));
     this.outputStream = messageStream;
 }