예제 #1
0
 private static string ConvertToolsPathToToolDefaultsPath(string settingPath)
 {
     string[] pathComponents = SettingPath.GetPathComponents(settingPath);
     if (pathComponents[0] == ToolSettings.Null.Path)
     {
         pathComponents[0] = AppSettings.Instance.ToolDefaults.Path;
     }
     return(SettingPath.CombinePathComponents(pathComponents));
 }