/// <summary> /// Invites the visiting object in. /// </summary> /// <param name="visitor">The visiting object.</param> /// <exception cref="ArgumentNullException"> /// If visitor is null. /// </exception> public void Accept(IEditorVisitor visitor) { if (visitor == null) { throw new ArgumentNullException(); } visitor.Visit(this); }
public void Accept(IEditorVisitor visitor) { visitor.Visit(this); }