Ejemplo n.º 1
0
 /// <summary>
 /// Method invoked before serializing a <see cref="SoapEnvelope"/>.
 /// Useful to add 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 OnSoapEnvelopeV1Dot1RequestAsync(ISoapClient client, OnSoapEnvelopeV1Dot1RequestArguments arguments, CancellationToken ct)
 {
     if (OnSoapEnvelopeV1Dot1RequestAsyncAction != null)
     {
         await OnSoapEnvelopeV1Dot1RequestAsyncAction(client, arguments, ct);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Method invoked before serializing a <see cref="SoapEnvelope"/>.
 /// Useful to add 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 OnSoapEnvelopeV1Dot1RequestAsync(ISoapClient client, OnSoapEnvelopeV1Dot1RequestArguments arguments, CancellationToken ct)
 {
     return(Task.FromResult(true));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Method invoked before serializing a <see cref="SoapEnvelope"/>.
 /// Useful to add 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 OnSoapEnvelopeV1Dot1Request(ISoapClient client, OnSoapEnvelopeV1Dot1RequestArguments arguments)
 {
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Method invoked before serializing a <see cref="SoapEnvelope"/>.
 /// Useful to add properties like <see cref="SoapHeader"/>.
 /// </summary>
 /// <param name="client">The client sending the request</param>
 /// <param name="arguments">The method arguments</param>
 public void OnSoapEnvelopeV1Dot1Request(ISoapClient client, OnSoapEnvelopeV1Dot1RequestArguments arguments)
 {
     OnSoapEnvelopeV1Dot1RequestAction?.Invoke(client, arguments);
 }