示例#1
0
 public FoxProfilesManager(IAddNewProfileCommand addNewProfileCommand,
                           IGetProfilesCountCommand getProfilesCountCommand,
                           ISetProfileNameCommand setProfileNameCommand,
                           IGetCurrentProfileIdCommand getCurrentProfileIdCommand,
                           ISwitchToProfileCommand switchToProfileCommand)
 {
     _addNewProfileCommand       = addNewProfileCommand;
     _getProfilesCountCommand    = getProfilesCountCommand;
     _setProfileNameCommand      = setProfileNameCommand;
     _getCurrentProfileIdCommand = getCurrentProfileIdCommand;
     _switchToProfileCommand     = switchToProfileCommand;
 }
 public DynamicFoxStatusManager
 (
     IGetBatteryLevelCommand getBatteryLevelCommand,
     IAntennaMatchingManager antennaMatchingManager,
     IIsFoxArmedCommand isFoxArmedCommand,
     IGetCurrentProfileIdCommand getCurrentProfileIdCommand,
     ICheckForProfileSettingsChangesCommand checkForProfileSettingsChangesCommand
 )
 {
     _getBatteryLevelCommand                = getBatteryLevelCommand;
     _antennaMatchingManager                = antennaMatchingManager;
     _isFoxArmedCommand                     = isFoxArmedCommand;
     _getCurrentProfileIdCommand            = getCurrentProfileIdCommand;
     _checkForProfileSettingsChangesCommand = checkForProfileSettingsChangesCommand;
 }