示例#1
0
 public DriverQueryable(IPendingDriverChanges pendingChanges)
 {
     this.pendingChanges     = pendingChanges;
     this.driversLister      = new AllDriversLister();
     this.driverPropsGetter  = new AnyDriverPropsGetter();
     this.driverStatusGetter = new AnyDriverStatusGetter(pendingChanges);
 }
示例#2
0
 public TestAnyDriverStatusGetter(
     ITestDriversSource driversSource,
     IPendingDriverChanges pendingChanges
     ) : base(driversSource)
 {
     this.driversSource  = driversSource;
     this.pendingChanges = pendingChanges;
 }
示例#3
0
 public DriverQueryable(
     IDriversList driversLister,
     IDriverProps driverPropsGetter,
     IDriverStatus driverStatusGetter,
     IPendingDriverChanges pendingChanges
     )
 {
     this.driversLister      = driversLister;
     this.driverPropsGetter  = driverPropsGetter;
     this.driverStatusGetter = driverStatusGetter;
     this.pendingChanges     = pendingChanges;
 }
示例#4
0
 public TestDriverQueryable(
     ITestDriversSource driversSource,
     IPendingDriverChanges pendingChanges
     )
 {
     this.pendingChanges = pendingChanges;
     this.driversLister  = new TestAllDriversLister(driversSource);
     this.driverPropsGetter
         = new TestAnyDriverPropsGetter(driversSource);
     this.driverStatusGetter
         = new TestAnyDriverStatusGetter(
               driversSource, pendingChanges);
 }
示例#5
0
 public DriversScheduledEnablementSwitcher(
     IDriverStatus driverStatusGetter,
     IDriverEnablementController enablementController,
     IPendingDriverChanges pendingChanges,
     IWindowsOsRunStateController windowsOsRunStateController = null
     )
 {
     this.driverStatusGetter   = driverStatusGetter;
     this.enablementController = enablementController;
     this.pendingChanges       = pendingChanges;
     this.rebootSwitch         = windowsOsRunStateController;
     this.switchInitiators
         = new List <DefaultScheduledEnablementSwitchInitiator>();
 }
示例#6
0
 public AnyDriverStatusGetter(IPendingDriverChanges c)
 {
     this.pendingChanges = c;
 }