public DisplayModificationOption(string name, Func <String> menuItemText, ModificationFormatter modificationFormatter, Func <ModifiedSequence, string> modifiedSequenceFormatter) { Name = name; _menuItemText = menuItemText; _modificationFormatter = modificationFormatter; _modifiedSequenceFormatter = modifiedSequenceFormatter; }
public DisplayModificationOption(string name, Func <String> menuItemText, ModificationFormatter modificationFormatter, Func <ModifiedSequence, string> modifiedSequenceFormatter, bool ignoreZeroMassMods) { Name = name; _menuItemText = menuItemText; _modificationFormatter = modificationFormatter; _modifiedSequenceFormatter = modifiedSequenceFormatter; IgnoreZeroMassMods = ignoreZeroMassMods; }