Example #1
0
 public bool EqualsBinary(MsDataFileData other)
 {
     return(Equals(Times, other.Times) &&
            Equals(TotalIonCurrent, other.TotalIonCurrent) &&
            Equals(MsLevels, other.MsLevels) &&
            Equals(RetentionTimesByModifiedSequence, other.RetentionTimesByModifiedSequence));
 }
Example #2
0
 public bool CheckDirty(MsDataFileData other)
 {
     return(!string.Equals(Name, other.Name) ||
            !string.Equals(Label, other.Label) ||
            !string.Equals(Cohort, other.Cohort) ||
            !string.Equals(Sample, other.Sample) ||
            !PrecursorPool.Equals(other.PrecursorPool) ||
            !TimePoint.Equals(other.TimePoint));
 }
Example #3
0
 public MsDataFileData(MsDataFileData msDataFileData)
 {
     Name            = msDataFileData.Name;
     Label           = msDataFileData.Label;
     Cohort          = msDataFileData.Cohort;
     Sample          = msDataFileData.Sample;
     PrecursorPool   = msDataFileData.PrecursorPool;
     TimePoint       = msDataFileData.TimePoint;
     Times           = msDataFileData.Times;
     TotalIonCurrent = msDataFileData.TotalIonCurrent;
     MsLevels        = msDataFileData.MsLevels;
     RetentionTimesByModifiedSequence = msDataFileData.RetentionTimesByModifiedSequence;
 }
Example #4
0
 public MsDataFileData(MsDataFileData msDataFileData)
 {
     Name = msDataFileData.Name;
     Label = msDataFileData.Label;
     Cohort = msDataFileData.Cohort;
     Sample = msDataFileData.Sample;
     PrecursorPool = msDataFileData.PrecursorPool;
     TimePoint = msDataFileData.TimePoint;
     Times = msDataFileData.Times;
     TotalIonCurrent = msDataFileData.TotalIonCurrent;
     MsLevels = msDataFileData.MsLevels;
     RetentionTimesByModifiedSequence = msDataFileData.RetentionTimesByModifiedSequence;
 }
Example #5
0
 protected bool Equals(MsDataFileData other)
 {
     return(!CheckDirty(other) && EqualsBinary(other));
 }
Example #6
0
 protected bool Equals(MsDataFileData other)
 {
     return !CheckDirty(other) && EqualsBinary(other);
 }
Example #7
0
 public bool EqualsBinary(MsDataFileData other)
 {
     return Equals(Times, other.Times)
         && Equals(TotalIonCurrent, other.TotalIonCurrent)
         && Equals(MsLevels, other.MsLevels)
         && Equals(RetentionTimesByModifiedSequence, other.RetentionTimesByModifiedSequence);
 }
Example #8
0
 public bool CheckDirty(MsDataFileData other)
 {
     return !string.Equals(Name, other.Name)
            || !string.Equals(Label, other.Label)
            || !string.Equals(Cohort, other.Cohort)
            || !string.Equals(Sample, other.Sample)
            || !PrecursorPool.Equals(other.PrecursorPool)
            || !TimePoint.Equals(other.TimePoint);
 }