/// ------------------------------------------------------------------------------------ public void ResetAFeatures() { if (HasAFeatureOverrides) { AMask = DefaultAMask.Clone(); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Returns a clone of the phone information object. /// </summary> /// ------------------------------------------------------------------------------------ public IPhoneInfo Clone() { var clone = new PhoneInfo(_ambiguousSequences, Phone); clone.Description = Description; clone.TotalCount = TotalCount; clone.CountAsNonPrimaryUncertainty = CountAsNonPrimaryUncertainty; clone.CountAsPrimaryUncertainty = CountAsPrimaryUncertainty; clone.CharType = CharType; clone._moaKey = MOAKey; clone._poaKey = POAKey; clone._baseChar = _baseChar; clone.SiblingUncertainties = new List <string>(SiblingUncertainties); clone.IsUndefined = IsUndefined; clone._aMask = AMask.Clone(); clone._bMask = BMask.Clone(); clone._defaultAMask = DefaultAMask.Clone(); clone._defaultBMask = DefaultBMask.Clone(); return(clone); }