示例#1
0
 public void AddPolicyBranches(PolicyAce[] arr)
 {
     PolicyBranches.Clear();
     foreach (PolicyAce a in arr)
     {
         PolicyBranches.Add(a);
     }
 }
示例#2
0
 /// <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);
 }