public override bool IsActionUsed(UInt32 actId, List <UInt32> usedBranches) { if (usedBranches.Contains(this.BranchId)) { return(false); } usedBranches.Add(this.BranchId); if (_list != null) { return(_list.IsActionUsed(actId, usedBranches)); } return(false); }