Example #1
0
        public void Clean()
        {
            if (this.activeViewInterceptor != null)
            {
                this.activeViewInterceptor.Dispose();
            }

            this.activeViewInterceptor = null;
        }
Example #2
0
        private void OnNavigated(object sender, NavigationEventArgs e)
        {
            this.ManageLastParameter(e.NavigationMode);
            var nParameter = this.container.Resolve <NavigationParameter>();

            nParameter.Parameter = this.lastParameter;

            if (e.Content is IView)
            {
                if (this.activeViewInterceptor != null)
                {
                    this.activeViewInterceptor.Dispose();
                }

                this.activeViewInterceptor = new ViewInterceptor(e.Content);
                this.activeViewInterceptor.LoadParameters(nParameter);
            }
        }
        public void Clean()
        {
            if (this.activeViewInterceptor != null) this.activeViewInterceptor.Dispose();

            this.activeViewInterceptor = null;
        }
        private void OnNavigated(object sender, NavigationEventArgs e)
        {
            this.ManageLastParameter(e.NavigationMode);
            var nParameter = this.container.Resolve<NavigationParameter>();
            nParameter.Parameter = this.lastParameter;

            if (e.Content is IView)
            {
                if (this.activeViewInterceptor != null) this.activeViewInterceptor.Dispose();

                this.activeViewInterceptor = new ViewInterceptor(e.Content);
                this.activeViewInterceptor.LoadParameters(nParameter);
            }
        }