Beispiel #1
0
        private void DisposeContextIntegration()
        {
            Context.OnContextStarted -= ProcessContextIntegration;

            if (_mediationBinder != null)
            {
                _mediationBinder?.OnViewRemove(this);
                _mediationBinder = null;
            }

            if (_context != null)
            {
                _context.OnStopping -= OnContextStopping;
                _context             = null;
            }

            _viewEventProcessor = null;
            Initialized         = false;
        }