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

            QueueName = queueName;
            JobId     = jobId;
        }
示例#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));
 }