public bool HasBranch(Branch branch) { return _branches.IndexOf(branch) > -1; }
public void AddBranch(Branch branch) { Debug.Assert(branch != null, "Branch is null"); if (HasBranch(branch)) return; _branches.Add(branch); }