public OpenTypeProjectItem(Type type, ClassViewProject project) : base(type) { this._project = project; }
private void CreateClassViewProject() { IProjectManager service = (IProjectManager) this.GetService(typeof(IProjectManager)); if (service != null) { this._project = (ClassViewProject) service.CreateProject(typeof(ClassViewProjectFactory), null); } if ((this._project != null) && !this._searchOnly) { this.LoadTree(false); } }