Esempio n. 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 OnSoapEnvelopeV1Dot2ResponseAsync(ISoapClient client, OnSoapEnvelopeV1Dot2ResponseArguments arguments, CancellationToken ct)
 {
     if (OnSoapEnvelopeV1Dot2ResponseAsyncAction != null)
     {
         await OnSoapEnvelopeV1Dot2ResponseAsyncAction(client, arguments, ct);
     }
 }
Esempio n. 2
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 virtual Task OnSoapEnvelopeV1Dot2ResponseAsync(ISoapClient client, OnSoapEnvelopeV1Dot2ResponseArguments arguments, CancellationToken ct)
 {
     return(Task.FromResult(true));
 }
Esempio n. 3
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 virtual void OnSoapEnvelopeV1Dot2Response(ISoapClient client, OnSoapEnvelopeV1Dot2ResponseArguments arguments)
 {
 }
Esempio n. 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 OnSoapEnvelopeV1Dot2Response(ISoapClient client, OnSoapEnvelopeV1Dot2ResponseArguments arguments)
 {
     OnSoapEnvelopeV1Dot2ResponseAction?.Invoke(client, arguments);
 }