public EnumBuilder(EnumBuilder CB = null) { if (CB != null) { Clone(CB); } else { ResetClass(); } }
public void Clone(EnumBuilder eff) { _intID = eff.ID; _intIndex = eff.Index; _blnIsActive = eff.IsActive; _strEnumName = eff.Name; _vars = new List <EnumProperty>(); for (int i = 0; i < eff.Variables.Count; i++) { _vars.Add(eff.Variables[i]); } _blnInitialized = true; }