コード例 #1
0
 public BasicAuthentication(
     IHash hash,
     IContactDatastore contactDatastore)
 {
     _hash             = hash;
     _contactDatastore = contactDatastore;
 }
コード例 #2
0
 public AccountController(
     IHttpContextAccessor context,
     IContactDatastore contactDatastore,
     ICompanyDatastore companyDatastore)
 {
     _context          = context;
     _contactDatastore = contactDatastore;
     _companyDatastore = companyDatastore;
 }
コード例 #3
0
 public AdministrationController(
     IContactDatastore contactDatastore,
     ICompanyDatastore companyDatastore,
     IUsageDatastore usageDatastore)
 {
     _contactDatastore = contactDatastore;
     _companyDatastore = companyDatastore;
     _usageDatastore   = usageDatastore;
 }
コード例 #4
0
 public TextSummaryController(
     IHttpContextAccessor context,
     IContactDatastore contactDatastore,
     IUsageDatastore usageDatastore,
     IHash hash)
 {
     _context          = context;
     _contactDatastore = contactDatastore;
     _usageDatastore   = usageDatastore;
     _hash             = hash;
 }
コード例 #5
0
 public ContactLogic(
     IContactDatastore datastore,
     IHttpContextAccessor context,
     IContactValidator validator,
     IContactFilter filter) :
     base(context)
 {
     _datastore = datastore;
     _validator = validator;
     _filter    = filter;
 }