コード例 #1
0
 public FoxProfilesManager(IAddNewProfileCommand addNewProfileCommand,
                           IGetProfilesCountCommand getProfilesCountCommand,
                           ISetProfileNameCommand setProfileNameCommand,
                           IGetCurrentProfileIdCommand getCurrentProfileIdCommand,
                           ISwitchToProfileCommand switchToProfileCommand)
 {
     _addNewProfileCommand       = addNewProfileCommand;
     _getProfilesCountCommand    = getProfilesCountCommand;
     _setProfileNameCommand      = setProfileNameCommand;
     _getCurrentProfileIdCommand = getCurrentProfileIdCommand;
     _switchToProfileCommand     = switchToProfileCommand;
 }
コード例 #2
0
 public FoxProfilesEnumerator(IGetProfilesCountCommand getProfilesCountCommand,
                              IGetProfileNameCommand getProfileNameCommand)
 {
     _getProfilesCountCommand = getProfilesCountCommand;
     _getProfileNameCommand   = getProfileNameCommand;
 }