예제 #1
0
        /// <summary>Create new view with specified parameters.</summary>
        /// <param name="environment">Application working environment.</param>
        /// <param name="parameters">Creation parameters.</param>
        /// <returns>Created view.</returns>
        protected override ViewBase CreateViewCore(IWorkingEnvironment environment)
        {
            var view = new RepositoryExplorerView(environment);

            view.AddItem(RootItem);
            return(view);
        }
예제 #2
0
파일: Factories.cs 프로젝트: Kuzq/gitter
 /// <summary>Create new view with specified parameters.</summary>
 /// <param name="environment">Application working environment.</param>
 /// <param name="parameters">Creation parameters.</param>
 /// <returns>Created view.</returns>
 protected override ViewBase CreateViewCore(IWorkingEnvironment environment)
 {
     var view = new RepositoryExplorerView(environment);
     view.AddItem(_rootItem);
     return view;
 }