public IPlugInWorkspaceHelper OpenWorkspace(string wksString) { //HIGHLIGHT: OpenWorkspace //Don't have to check if wksString contains valid data file. //Any valid folder path is fine since we want paste to work in any folder if (System.IO.Directory.Exists(wksString)) { SimplePointWksp openWksp = new SimplePointWksp(wksString); return((IPlugInWorkspaceHelper)openWksp); } return(null); }
public IPlugInWorkspaceHelper OpenWorkspace(string wksString) { //HIGHLIGHT: OpenWorkspace //Don't have to check if wksString contains valid data file. //Any valid folder path is fine since we want paste to work in any folder if (System.IO.Directory.Exists(wksString)) { SimplePointWksp openWksp = new SimplePointWksp(wksString); return (IPlugInWorkspaceHelper)openWksp; } return null; }