Exemplo n.º 1
0
        //const string NOT_ENCRYPTED_MSG = "This file wasn't encrypted!";

        //const string ALREADY_ENCRYPTED_MSG = "This file is already encrypted!";

        public Application(IOutputPrinter consolePrinter, IInfoCollector infoCollector, IEncryptionService encryptionService, ISwitchInfo switchInfo)
        {
            _consolePrinter    = consolePrinter;
            _encryptionService = encryptionService;
            _switchInfo        = switchInfo;
            _infoCollector     = infoCollector;
        }
Exemplo n.º 2
0
 public PanelView()
 {
     _tools      = new MTools();
     _panels     = new MPanels();
     _switchInfo = new MSwitchInfo();
 }
Exemplo n.º 3
0
 public Switch()
 {
     _switch     = new MSwitch();
     _switchInfo = new MSwitchInfo();
     _tools      = new MTools();
 }