示例#1
0
 public DisplayModificationOption(string name, Func <String> menuItemText,
                                  ModificationFormatter modificationFormatter, Func <ModifiedSequence, string> modifiedSequenceFormatter)
 {
     Name                       = name;
     _menuItemText              = menuItemText;
     _modificationFormatter     = modificationFormatter;
     _modifiedSequenceFormatter = modifiedSequenceFormatter;
 }
示例#2
0
 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;
 }