示例#1
0
        private CombineMascotGenericFormatOption GetFormatOption()
        {
            var result = new CombineMascotGenericFormatOption();

            result.HeaderFile   = fileHeader.FullName;
            result.HeaderParser = titleHeaderParser.SelectedItem;
            result.PeakFile     = filePeak.FullName;
            result.PeakParser   = titlePeakParser.SelectedItem;
            result.TargetFile   = base.GetOriginFile();
            result.Writer       = new MascotGenericFormatWriter <Peak>()
            {
                TitleFormat = titleFormat.SelectedItem
            };

            return(result);
        }
 public ReplaceMascotGenericFormatProcessor(CombineMascotGenericFormatOption option)
 {
     this.option = option;
 }