Exemplo 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 OnSoapEnvelopeV1Dot2RequestAsync(ISoapClient client, OnSoapEnvelopeV1Dot2RequestArguments arguments, CancellationToken ct)
 {
     if (OnSoapEnvelopeV1Dot2RequestAsyncAction != null)
     {
         await OnSoapEnvelopeV1Dot2RequestAsyncAction(client, arguments, ct);
     }
 }
Exemplo 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 OnSoapEnvelopeV1Dot2RequestAsync(ISoapClient client, OnSoapEnvelopeV1Dot2RequestArguments arguments, CancellationToken ct)
 {
     return(Task.FromResult(true));
 }
Exemplo 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 OnSoapEnvelopeV1Dot2Request(ISoapClient client, OnSoapEnvelopeV1Dot2RequestArguments arguments)
 {
 }
Exemplo 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 OnSoapEnvelopeV1Dot2Request(ISoapClient client, OnSoapEnvelopeV1Dot2RequestArguments arguments)
 {
     OnSoapEnvelopeV1Dot2RequestAction?.Invoke(client, arguments);
 }