Beispiel #1
0
        /*
         * Context.
         */

        private void ProcessContextIntegration(IContext context)
        {
            Context.OnContextStarted -= ProcessContextIntegration;

            _context             = context;
            _context.OnStopping += OnContextStopping;

            var mvcs = _context.GetExtension <MVCSExtension>();

            _viewEventProcessor = mvcs.InjectionBinder.GetInstance <IUnityViewEventProcessor>();

            _mediationBinder = mvcs.MediationBinder;
            _mediationBinder.OnViewAdd(this);

            Initialized = true;
        }