Exemple #1
0
        public void Swap()
        {
            Format.MappingSettings rawSettings = (Condition1 != null) ? Condition1.RawSettings : (Condition2 != null) ? Condition2.RawSettings : null;
            if (rawSettings == null)
            {
                return;
            }

            ACondition swap = (Condition1 == null) ? null : Condition1.Copy(ConditionNumber.One);

            SetCondition(rawSettings, ConditionNumber.One, Condition2);
            SetCondition(rawSettings, ConditionNumber.Two, swap);
        }