Ejemplo n.º 1
0
 /// <summary>
 /// Publish the specified topic and message async.
 /// </summary>
 /// <returns>The async.</returns>
 /// <param name="topic">Topic.</param>
 /// <param name="message">Message.</param>
 /// <param name="cancellationToken">Cancellation token.</param>
 public Task PublishAsync(string topic, EasyCachingMessage message, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Task.CompletedTask);
 }
Ejemplo n.º 2
0
 public Task PublishAsync(string topic, EasyCachingMessage message, CancellationToken cancellationToken = default) => throw _exception;
Ejemplo n.º 3
0
 /// <summary>
 /// Publish the specified topic and message.
 /// </summary>
 /// <param name="topic">Topic.</param>
 /// <param name="message">Message.</param>
 public void Publish(string topic, EasyCachingMessage message)
 {
 }
Ejemplo n.º 4
0
 public void Publish(string topic, EasyCachingMessage message) => throw _exception;