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

            var count = _control.StopViewInUse();

            if (count != -1)
            {
                Logger.Info("SecondaryViewSynchronizationContextDecorator : OperationCompleted: " + count);
            }
        }
Exemplo 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
     }
 }