Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 public InMemoryConnection(
     [NotNull] InMemoryDispatcherBase dispatcher,
     [NotNull] InMemoryStorageOptions options)
 {
     _dispatcher = dispatcher ?? throw new ArgumentNullException(nameof(dispatcher));
     _options    = options ?? throw new ArgumentNullException(nameof(options));
 }
Ejemplo n.º 3
0
        public InMemoryFetchedJob(InMemoryDispatcherBase dispatcher, string queueName, string jobId)
        {
            _dispatcher = dispatcher;

            QueueName = queueName;
            JobId     = jobId;
        }
Ejemplo n.º 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));
 }