Example #1
0
 public Controller(IExitCommand exitCommand,
                   IHelpCommand helpCommand,
                   ICd cdCommand,
                   IDirCommand dirCommand,
                   IInitCommand initComman,
                   IStatusCommand statusCommand,
                   IListCommand listCommand,
                   IRegisterCommand registerCommand,
                   ILoginCommand logInCommand,
                   IAddCommand addCommand,
                   IRemoveCommand removeCommand,
                   ITestHttp testHttp, ICommitCommand commitCommand)
 {
     this.exitCommand     = exitCommand;
     this.helpCommand     = helpCommand;
     this.cdCommand       = cdCommand;
     this.dirCommand      = dirCommand;
     this.initComman      = initComman;
     this.statusCommand   = statusCommand;
     this.listCommand     = listCommand;
     this.registerCommand = registerCommand;
     this.loginCommand    = logInCommand;
     this.addCommand      = addCommand;
     this.removeCommand   = removeCommand;
     this.testHttp        = testHttp;
     this.commitCommand   = commitCommand;
 }
Example #2
0
 public InitCommand(AntilStorageHelper storageHelper,
                    RepositoryXMLHelper repositoryHelper,
                    ICommitCommand commitCommand)
 {
     this.storageHelper    = storageHelper;
     this.repositoryHelper = repositoryHelper;
     this.commitCommand    = commitCommand;
 }