コード例 #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;
        }
コード例 #2
0
 public PanelView()
 {
     _tools      = new MTools();
     _panels     = new MPanels();
     _switchInfo = new MSwitchInfo();
 }
コード例 #3
0
 public Switch()
 {
     _switch     = new MSwitch();
     _switchInfo = new MSwitchInfo();
     _tools      = new MTools();
 }