示例#1
0
 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);
 }
示例#2
0
        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));
        }
示例#3
0
 public static string GetPathSampleNamePart(MsDataFileUri msDataFileUri)
 {
     return msDataFileUri.GetSampleName();
 }
示例#4
0
 public static string GetPathSampleNamePart(MsDataFileUri msDataFileUri)
 {
     return(msDataFileUri.GetSampleName());
 }