Mark van Renswoude
74985e45de
Some are silly, like the "member not used" for public interfaces. The comments everywhere are ugly, sorry, but it keeps the possibly important issues visible without a dependency on some ReSharper annotations package.
30 lines
714 B
C#
30 lines
714 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Tapeti.Flow.Default
|
|
{
|
|
public class NonPersistentFlowRepository : IFlowRepository
|
|
{
|
|
Task<List<KeyValuePair<Guid, T>>> IFlowRepository.GetStates<T>()
|
|
{
|
|
return Task.FromResult(new List<KeyValuePair<Guid, T>>());
|
|
}
|
|
|
|
public Task CreateState<T>(Guid flowID, T state, DateTime timestamp)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public Task UpdateState<T>(Guid flowID, T state)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
|
|
public Task DeleteState(Guid flowID)
|
|
{
|
|
return Task.CompletedTask;
|
|
}
|
|
}
|
|
}
|