public override void Remove(PageComponent pageComponent) { if (pageComponent == null) { throw new ArgumentNullException(); } this.elements.Remove(pageComponent); }
public override void Remove(PageComponent page) { throw new ArgumentException("Cannot remove elements"); }
public override void Add(PageComponent page) { throw new ArgumentException("Cannot add elements"); }