public ItemsRelationshipManager(
     IItemsRelationshipStore <TItemsRelationship, TModule> store,
     IItemsRelationshipAccessor <TItemsRelationship, TModule> accessor,
     IEnumerable <IValidator <TItemsRelationship, TModule> > validators,
     ILogger <ItemsRelationshipManager <TItemsRelationship, TModule> > logger)
     : base(store, accessor, validators, logger)
 {
 }
Exemplo n.º 2
0
 public AspNetItemsRelationshipManager(
     IItemsRelationshipStore <TItemsRelationship, TModule> store,
     IItemsRelationshipAccessor <TItemsRelationship, TModule> accessor,
     IEnumerable <IValidator <TItemsRelationship, TModule> > validators,
     ILogger <ItemsRelationshipManager <TItemsRelationship, TModule> > logger,
     IHttpContextAccessor contextAccessor)
     : base(store, accessor, validators, logger)
     => _cancel = contextAccessor?.HttpContext?.RequestAborted ?? CancellationToken.None;