private static string GetMessage(MsDataFileUri importPath, Exception x) { string message = importPath.GetSampleName() == null ? string.Format(Resources.ChromCacheBuildException_GetMessage_Failed_importing_results_file___0___, importPath.GetFilePath()) : string.Format(Resources.ChromCacheBuildException_GetMessage_Failed_importing_results_file___0____sample__1__, importPath.GetFilePath(), importPath.GetSampleName()); return TextUtil.LineSeparate(message, x.Message); }
private static string GetMessage(MsDataFileUri importPath, Exception x) { string message = importPath.GetSampleName() == null ? string.Format(Resources.ChromCacheBuildException_GetMessage_Failed_importing_results_file___0___, importPath.GetFilePath()) : string.Format(Resources.ChromCacheBuildException_GetMessage_Failed_importing_results_file___0____sample__1__, importPath.GetFilePath(), importPath.GetSampleName()); return(TextUtil.LineSeparate(message, x.Message)); }
public static string GetPathSampleNamePart(MsDataFileUri msDataFileUri) { return msDataFileUri.GetSampleName(); }
public static string GetPathSampleNamePart(MsDataFileUri msDataFileUri) { return(msDataFileUri.GetSampleName()); }