Explorar el Código

add summary comment.

master
Savorboard hace 7 años
padre
commit
b418aeb5c0
Se han modificado 2 ficheros con 10 adiciones y 0 borrados
  1. +6
    -0
      src/DotNetCore.CAP/IStorage.cs
  2. +4
    -0
      src/DotNetCore.CAP/IStorageTransaction.cs

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

@@ -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 fichero

@@ -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);


Cargando…
Cancelar
Guardar