ConcurrentReplayAsyncSubject.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT License.
  3. // See the LICENSE file in the project root for more information.
  4. using System.Reactive.Concurrency;
  5. namespace System.Reactive.Subjects
  6. {
  7. public sealed class ConcurrentReplayAsyncSubject<T> : ReplayAsyncSubject<T>
  8. {
  9. public ConcurrentReplayAsyncSubject()
  10. : base(true)
  11. {
  12. }
  13. public ConcurrentReplayAsyncSubject(int bufferSize)
  14. : base(true, bufferSize)
  15. {
  16. }
  17. public ConcurrentReplayAsyncSubject(IAsyncScheduler scheduler)
  18. : base(true, scheduler)
  19. {
  20. }
  21. public ConcurrentReplayAsyncSubject(int bufferSize, IAsyncScheduler scheduler)
  22. : base(true, bufferSize, scheduler)
  23. {
  24. }
  25. public ConcurrentReplayAsyncSubject(TimeSpan window)
  26. : base(false, window)
  27. {
  28. }
  29. public ConcurrentReplayAsyncSubject(TimeSpan window, IAsyncScheduler scheduler)
  30. : base(false, window, scheduler)
  31. {
  32. }
  33. public ConcurrentReplayAsyncSubject(int bufferSize, TimeSpan window)
  34. : base(false, bufferSize, window)
  35. {
  36. }
  37. public ConcurrentReplayAsyncSubject(int bufferSize, TimeSpan window, IAsyncScheduler scheduler)
  38. : base(false, bufferSize, window, scheduler)
  39. {
  40. }
  41. }
  42. }