Ver a proveniência

add summary comment.

master
Savorboard há 7 anos
ascendente
cometimento
b418aeb5c0
2 ficheiros alterados com 10 adições e 0 eliminações
  1. +6
    -0
      src/DotNetCore.CAP/IStorage.cs
  2. +4
    -0
      src/DotNetCore.CAP/IStorageTransaction.cs

+ 6
- 0
src/DotNetCore.CAP/IStorage.cs Ver ficheiro

@@ -14,8 +14,14 @@ namespace DotNetCore.CAP
/// </summary>
Task InitializeAsync(CancellationToken cancellationToken);

/// <summary>
/// Provider the dashboard metric api.
/// </summary>
IMonitoringApi GetMonitoringApi();

/// <summary>
/// Storage connection of database operate.
/// </summary>
IStorageConnection GetConnection();
}
}

+ 4
- 0
src/DotNetCore.CAP/IStorageTransaction.cs Ver ficheiro

@@ -4,6 +4,10 @@ using DotNetCore.CAP.Models;

namespace DotNetCore.CAP
{
/// <summary>
/// A transactional database storage operation.
/// Update message state of the message table with transactional.
/// </summary>
public interface IStorageTransaction : IDisposable
{
void UpdateMessage(CapPublishedMessage message);


Carregando…
Cancelar
Guardar