Esempio n. 1
0
 public ClientStore(ConfigurationDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CorsPolicyService"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <exception cref="ArgumentNullException">context</exception>
 public CorsPolicyService(ConfigurationDbContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
 }