Esempio n. 1
0
        public override void OperationCompleted()
        {
            _context.OperationCompleted();

            var count = _control.StopViewInUse();

            if (count != -1)
            {
                Logger.Info("SecondaryViewSynchronizationContextDecorator : OperationCompleted: " + count);
            }
        }
Esempio n. 2
0
 public override void OperationCompleted()
 {
     try
     {
         context.OperationCompleted();
         var count = control.StopViewInUse();
         Logger.Info("SecondaryViewSynchronizationContextDecorator : OperationCompleted: " + count);
     }
     catch (ViewLifetimeControl.ViewLifeTimeException)
     {
         //Don't need to do anything, operation can't be completed
     }
 }