コード例 #1
0
 /// <summary>
 ///     Method invoked after deserializing a <see cref="SoapEnvelope" /> from the server response.
 ///     Useful to validate properties like <see cref="SoapHeader" />.
 /// </summary>
 /// <param name="client">The client sending the request</param>
 /// <param name="arguments">The method arguments</param>
 /// <param name="ct">The cancellation token</param>
 /// <returns>Task to be awaited</returns>
 public async Task OnSoapEnvelopeResponseAsync(ISoapClient client,
                                               OnSoapEnvelopeResponseArguments arguments, CancellationToken ct)
 {
     if (OnSoapEnvelopeResponseAsyncAction != null)
     {
         await OnSoapEnvelopeResponseAsyncAction(client, arguments, ct);
     }
 }
コード例 #2
0
ファイル: SoapHandler.cs プロジェクト: eminozandac/IRIS_2
 /// <summary>
 ///     Method invoked after deserializing a <see cref="SoapEnvelope" /> from the server response.
 ///     Useful to validate properties like <see cref="SoapHeader" />.
 /// </summary>
 /// <param name="client">The client sending the request</param>
 /// <param name="arguments">The method arguments</param>
 /// <param name="ct">The cancellation token</param>
 /// <returns>Task to be awaited</returns>
 public virtual Task OnSoapEnvelopeResponseAsync(ISoapClient client, OnSoapEnvelopeResponseArguments arguments, CancellationToken ct)
 {
     return(Task.FromResult(true));
 }
コード例 #3
0
ファイル: SoapHandler.cs プロジェクト: eminozandac/IRIS_2
 /// <summary>
 ///     Method invoked after deserializing a <see cref="SoapEnvelope" /> from the server response.
 ///     Useful to validate properties like <see cref="SoapHeader" />.
 /// </summary>
 /// <param name="client">The client sending the request</param>
 /// <param name="arguments">The method arguments</param>
 public virtual void OnSoapEnvelopeResponse(ISoapClient client, OnSoapEnvelopeResponseArguments arguments)
 {
 }
コード例 #4
0
 /// <summary>
 ///     Method invoked after deserializing a <see cref="SoapEnvelope" /> from the server response.
 ///     Useful to validate properties like <see cref="SoapHeader" />.
 /// </summary>
 /// <param name="client">The client sending the request</param>
 /// <param name="arguments">The method arguments</param>
 public void OnSoapEnvelopeResponse(ISoapClient client, OnSoapEnvelopeResponseArguments arguments)
 {
     OnSoapEnvelopeResponseAction?.Invoke(client, arguments);
 }