public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText) {
   _snapshot = textSnapshotMock;
   _lineNumber = lineNumber;
   _index = index;
   _length = length;
   _lineSeparatorText = lineSeparatorText;
 }
 public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText)
 {
     _snapshot          = textSnapshotMock;
     _lineNumber        = lineNumber;
     _index             = index;
     _length            = length;
     _lineSeparatorText = lineSeparatorText;
 }
示例#3
0
 public TextBufferMock(string text)
 {
     _currentSnapshot = new TextSnapshotMock(this, text);
 }
示例#4
0
 public TextBufferMock(string text) {
   _currentSnapshot = new TextSnapshotMock(this, text);
 }