/// <summary> /// Initializes a new instance of the MaxUniqueMatchExtension class /// </summary> /// <param name="mum">Maximum Unique Match</param> public MaxUniqueMatchExtension(MaxUniqueMatch mum) { if (mum == null) { throw new ArgumentNullException("mum"); } mum.CopyTo(this); this.IsGood = false; this.IsTentative = false; }
/// <summary> /// Copy the content to MUM /// </summary> /// <param name="match">Maximun unique match</param> public void CopyTo(MaxUniqueMatch match) { if (match == null) { throw new ArgumentNullException("match"); } match.FirstSequenceMumOrder = this.FirstSequenceMumOrder; match.ReferenceSequenceOffset = this.ReferenceSequenceOffset; match.SecondSequenceMumOrder = this.SecondSequenceMumOrder; match.QuerySequenceOffset = this.QuerySequenceOffset; match.Length = this.Length; match.Query = this.Query; }