示例#1
0
 public DHCPv6StatisticsController(
     DHCPv6RootScope rootScope,
     IDHCPv6ReadStore storage)
 {
     _rootScope = rootScope ?? throw new ArgumentNullException(nameof(rootScope));
     _storage   = storage ?? throw new ArgumentNullException(nameof(storage));
 }
示例#2
0
 public DeviceController(
     IDHCPv6ReadStore store,
     ILogger <DeviceController> logger)
 {
     _store  = store ?? throw new ArgumentNullException(nameof(store));
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
 }
示例#3
0
 public DashboardController(
     DHCPv6RootScope rootScope,
     DHCPv4RootScope dhcpv4RootScope,
     IDHCPv6ReadStore storage,
     INotificationEngine notificationEngine)
 {
     _rootScope          = rootScope ?? throw new ArgumentNullException(nameof(rootScope));
     _dhcpv4RootScope    = dhcpv4RootScope ?? throw new ArgumentNullException(nameof(dhcpv4RootScope));
     _storage            = storage ?? throw new ArgumentNullException(nameof(storage));
     _notificationEngine = notificationEngine ?? throw new ArgumentNullException(nameof(notificationEngine));
 }
示例#4
0
 public DatabaseDHCPv6ServerPropertiesResolver(IDHCPv6ReadStore store)
 {
     this.store = store ?? throw new ArgumentNullException(nameof(store));
 }