You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NoopMessageStore.cs 1.2 KiB

8 vuotta sitten
8 vuotta sitten
123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Threading;
  3. using System.Threading.Tasks;
  4. namespace Cap.Consistency.Test
  5. {
  6. public class NoopMessageStore : IConsistencyMessageStore<TestConsistencyMessage>
  7. {
  8. public Task<OperateResult> CreateAsync(TestConsistencyMessage message, CancellationToken cancellationToken) {
  9. throw new NotImplementedException();
  10. }
  11. public Task<OperateResult> DeleteAsync(TestConsistencyMessage message, CancellationToken cancellationToken) {
  12. throw new NotImplementedException();
  13. }
  14. public void Dispose() {
  15. throw new NotImplementedException();
  16. }
  17. public Task<TestConsistencyMessage> FindByIdAsync(string messageId, CancellationToken cancellationToken) {
  18. throw new NotImplementedException();
  19. }
  20. public Task<string> GetMessageIdAsync(TestConsistencyMessage message, CancellationToken cancellationToken) {
  21. throw new NotImplementedException();
  22. }
  23. public Task<OperateResult> UpdateAsync(TestConsistencyMessage message, CancellationToken cancellationToken) {
  24. throw new NotImplementedException();
  25. }
  26. }
  27. }