Пример #1
0
        public Form1()
        {
            InitializeComponent();
            var globals        = Global.Instance;
            var syrupDowloader = new SyrupDowloader(this);

            _selfUpdaterService = new SelfUpdaterService(globals, syrupDowloader, this);
        }
Пример #2
0
 public SelfUpdaterService(Global global, SyrupDowloader syrupDowloader, INotifier notifier)
 {
     _global         = global;
     _syrupDowloader = syrupDowloader;
     _notifier       = notifier;
 }