Exemplo n.º 1
0
        /// <summary>
        /// Cleans up the service instances when disposing is requested.
        /// </summary>
        protected override void DisposeCore()
        {
            base.DisposeCore();

            if (_dispositioningService != null)
            {
                _dispositioningService.Dispose();
            }
            if (_operationService != null)
            {
                _operationService.Dispose();
            }
        }
Exemplo n.º 2
0
 protected override void DisposeCore()
 {
     base.DisposeCore();
     _service.Dispose();
 }