public void AddPolicyBranches(PolicyAce[] arr) { PolicyBranches.Clear(); foreach (PolicyAce a in arr) { PolicyBranches.Add(a); } }
/// <summary> /// Add an "OR-branch" /// </summary> /// <param name="newAce"></param> /// <returns></returns> public PolicyAce AddPolicyBranch(PolicyAce newAce) { PolicyBranches.Add(newAce); newAce.PreviousAce = this; return(newAce); }