public void ChangeChromInfo(EditDescription editDescription, Func <TransitionChromInfo, TransitionChromInfo> newChromInfo) { Transition.ChangeDocNode(editDescription, docNode => docNode.ChangeResults(GetResultFile().ChangeChromInfo(docNode.Results, newChromInfo))); }
public override ElementRef GetElementRef() { return(TransitionResultRef.PROTOTYPE.ChangeChromInfo(GetResultFile().Replicate.ChromatogramSet, ChromInfo) .ChangeParent(Transition.GetElementRef())); }
public TransitionResult(Transition transition, ResultFile resultFile) : base(transition, resultFile) { _chromInfo = CachedValue.Create(DataSchema, () => GetResultFile().FindChromInfo(transition.DocNode.Results)); _chromatogram = CachedValue.Create(DataSchema, () => new Chromatogram(new ChromatogramGroup(PrecursorResult), Transition)); }
public Chromatogram(ChromatogramGroup chromatogramGroup, Transition transition) { ChromatogramGroup = chromatogramGroup; Transition = transition; _chromatogramInfo = new Lazy <ChromatogramInfo>(GetChromatogramInfo); }