public static MockWorkbench CreateWorkbenchWithOneViewContent(string fileName)
		{
			MockEditableViewContent viewContent = new MockEditableViewContent();
			viewContent.PrimaryFileName = new FileName(fileName);
						
			MockWorkbench workbench = new MockWorkbench();
			workbench.ActiveMockEditableViewContent = viewContent;
			
			return workbench;
		}
Beispiel #2
0
        public static MockWorkbench CreateWorkbenchWithOneViewContent(string fileName)
        {
            MockEditableViewContent viewContent = new MockEditableViewContent();

            viewContent.PrimaryFileName = new FileName(fileName);

            MockWorkbench workbench = new MockWorkbench();

            workbench.ActiveMockEditableViewContent = viewContent;

            return(workbench);
        }