Пример #1
0
 public Handler(ICleanDbContext context, ICurrentUserAccessor user, IIdentityService identity, IEmailSender email, ILogger <Handler> logger)
 {
     _context  = context;
     _user     = user;
     _identity = identity;
     _email    = email;
     _logger   = logger;
 }
Пример #2
0
 public Handler(ICleanDbContext context, ICurrentUserAccessor user)
 {
     _context = context;
     _user    = user;
 }
Пример #3
0
 public Handler(ICleanDbContext context)
 {
     _context = context;
 }
 public TransactionBehaviour(ICleanDbContext context)
 {
     _context = context;
 }
Пример #5
0
 public GenerateRunningService(ICleanDbContext context)
 {
     _context = context;
 }
Пример #6
0
 public static ResilientTransaction New(ICleanDbContext context) =>
 new ResilientTransaction(context);
Пример #7
0
 private ResilientTransaction(ICleanDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Пример #8
0
 public ContentService(ICleanDbContext context, ContentType type)
 {
     _context   = context;
     this._type = type;
 }
Пример #9
0
 public ContentService(ICleanDbContext context)
 {
     _context   = context;
     this._type = ContentType.File;
 }
Пример #10
0
 public Handler(ICleanDbContext context, IIdentityService identity, ICurrentUserAccessor user)
 {
     _context  = context;
     _identity = identity;
     _user     = user;
 }