public FooTextBoxRangeProvider(FooTextBox textbox, int start, int length, FooTextBoxAutomationPeer peer) { this.textbox = textbox; this.start = start; this.end = start + length; _peer = peer; }
public FooTextBoxRangeProvider(FooTextBox textbox, FooTextBoxAutomationPeer peer) : this(textbox, 0, textbox.Document.Length, peer) { }