Exemplo n.º 1
0
        public SynchronizedAppUpdate(INotifyingAppUpdate origin)
        {
            _origin = origin;

            _syncContext          = SynchronizationContext.Current;
            _origin.StateChanged += AppUpdate_StateChanged;
        }
Exemplo n.º 2
0
        public ExtendedProgressAppUpdate(TimeSpan minProgressDuration, INotifyingAppUpdate origin)
        {
            _minProgressDuration = minProgressDuration;
            _origin = origin;

            _origin.StateChanged += AppUpdate_StateChanged;
            _notifyQueue          = new SerialTaskQueue();
        }
Exemplo n.º 3
0
 public UpdateHandler(ILogger logger, INotifyingAppUpdate updater)
 {
     _updater = updater;
     _logger  = logger;
     _updater.StateChanged += OnUpdaterStateChanged;
 }
Exemplo n.º 4
0
 public SafeAppUpdate(ILogger logger, INotifyingAppUpdate origin)
 {
     _logger = logger;
     _origin = origin;
 }