/// <summary> /// Initializes a new instance of the <see cref="IEditableText"/> class. /// </summary> /// <param name="source">The <see cref="IEditableText"/> to control the input of.</param> /// <exception cref="ArgumentNullException"><paramref name="source" /> is <c>null</c>.</exception> public EditableTextHandler(IEditableText source) { if (source == null) throw new ArgumentNullException("source"); _source = source; }
/// <summary> /// Initializes a new instance of the <see cref="IEditableText"/> class. /// </summary> /// <param name="source">The <see cref="IEditableText"/> to control the input of.</param> /// <exception cref="ArgumentNullException"><paramref name="source" /> is <c>null</c>.</exception> public EditableTextHandler(IEditableText source) { if (source == null) { throw new ArgumentNullException("source"); } _source = source; }
/// <summary> /// Represents an atom of editable text (i.e. typed character). /// </summary> public Atom(MarkdownDocument Document, IEditableText Source, char Character) : base(Document) { this.source = Source; this.character = Character; }
public EditableText(Accessible accessible) { ObjectPath op = new ObjectPath (accessible.path); proxy = Registry.Bus.GetObject<IEditableText> (accessible.application.name, op); }