Exemple #1
0
 public LockDisposable(InMemoryDispatcherBase dispatcher, InMemoryConnection reference, string resource, LockEntry entry)
 {
     _dispatcher = dispatcher;
     _reference  = reference;
     _resource   = resource;
     _entry      = entry ?? throw new ArgumentNullException(nameof(entry));
 }
Exemple #2
0
 public InMemoryConnection(
     [NotNull] InMemoryDispatcherBase dispatcher,
     [NotNull] InMemoryStorageOptions options)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
     _options    = options ?? throw new ArgumentNullException(nameof(options));
 }
Exemple #3
0
        public InMemoryFetchedJob(InMemoryDispatcherBase dispatcher, string queueName, string jobId)
        {
            _dispatcher = dispatcher;

            QueueName = queueName;
            JobId     = jobId;
        }
Exemple #4
0
 public InMemoryTransaction([NotNull] InMemoryDispatcherBase dispatcher)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
 }
 public InMemoryMonitoringApi(InMemoryDispatcherBase dispatcher)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
 }
 public InMemoryConnection(InMemoryDispatcherBase dispatcher)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
 }