Esempio n. 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);
        }
Esempio n. 2
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;
 }