예제 #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);
 }
예제 #2
0
 public Task PublishAsync(string topic, EasyCachingMessage message, CancellationToken cancellationToken = default) => throw _exception;
예제 #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)
 {
 }
예제 #4
0
 public void Publish(string topic, EasyCachingMessage message) => throw _exception;