Browse Source

add summary comment.

master
Savorboard 7 years ago
parent
commit
c889ad8fc5
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      src/DotNetCore.CAP/IPublishExecutor.cs

+ 9
- 0
src/DotNetCore.CAP/IPublishExecutor.cs View File

@@ -2,8 +2,17 @@


namespace DotNetCore.CAP namespace DotNetCore.CAP
{ {
/// <summary>
/// publish message excutor. The excutor sends the message to the message queue
/// </summary>
public interface IPublishExecutor public interface IPublishExecutor
{ {
/// <summary>
/// publish message to message queue.
/// </summary>
/// <param name="keyName">The message topic name.</param>
/// <param name="content">The message content.</param>
/// <returns></returns>
Task<OperateResult> PublishAsync(string keyName, string content); Task<OperateResult> PublishAsync(string keyName, string content);
} }
} }

Loading…
Cancel
Save