Exemplo n.º 1
0
 /// <summary>
 /// Loads X-Road message contents from response message.
 /// </summary>
 public void LoadResponse(Stream stream, string contentTypeHeader, string storagePath, IEnumerable <IXRoadProtocol> supportedProtocols)
 {
     using (var reader = new XRoadMessageReader(stream, contentTypeHeader, storagePath, supportedProtocols))
         reader.Read(this, true);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Loads X-Road message contents from response message.
 /// </summary>
 public void LoadResponse(Stream stream, IMessageFormatter messageFormatter, string contentTypeHeader, string storagePath, IEnumerable <IServiceManager> serviceManagers)
 {
     using (var reader = new XRoadMessageReader(stream, messageFormatter, contentTypeHeader, storagePath, serviceManagers))
         reader.Read(this, true);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Loads X-Road message contents from request message.
 /// </summary>
 public void LoadRequest(Stream stream, string contentTypeHeader, string storagePath, IEnumerable <IServiceManager> serviceManagers)
 {
     using (var reader = new XRoadMessageReader(stream, contentTypeHeader, storagePath, serviceManagers))
         reader.Read(this);
 }