/// <summary>
        /// Gets the presenter.
        /// </summary>
        /// <param name="view">The view.</param>
        /// <returns></returns>
        public IPresenterType GetPresenter <IPresenterType>(object view)
            where IPresenterType : IPresenter
        {
            if (container.Kernel.HasComponent(typeof(IPresenterType)))
            {
                IPresenterType _presenter = container.Resolve <IPresenterType>();
                IPresenter     presenter  = (IPresenter)_presenter;
                object[]       models     = new object[presenter.TypeOfModels.Length];
                for (int i = 0; i < models.Length; i++)
                {
                    if (container.Kernel.HasComponent(presenter.TypeOfModels[i]))
                    {
                        models[i] = container.Resolve(presenter.TypeOfModels[i]);
                    }
                    else
                    {
                        models[i] = null;
                    }
                }
                presenter.BindView(view);
                presenter.BindModels(models);
                return(_presenter);
            }

            return(default(IPresenterType));
        }