コード例 #1
0
 public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText) {
   _snapshot = textSnapshotMock;
   _lineNumber = lineNumber;
   _index = index;
   _length = length;
   _lineSeparatorText = lineSeparatorText;
 }
コード例 #2
0
 public TextSnapshotLineMock(TextSnapshotMock textSnapshotMock, int lineNumber, int index, int length, string lineSeparatorText)
 {
     _snapshot          = textSnapshotMock;
     _lineNumber        = lineNumber;
     _index             = index;
     _length            = length;
     _lineSeparatorText = lineSeparatorText;
 }
コード例 #3
0
ファイル: TextBufferMock.cs プロジェクト: zpublic/vs-chromium
 public TextBufferMock(string text)
 {
     _currentSnapshot = new TextSnapshotMock(this, text);
 }
コード例 #4
0
ファイル: TextBufferMock.cs プロジェクト: mbbill/vs-chromium
 public TextBufferMock(string text) {
   _currentSnapshot = new TextSnapshotMock(this, text);
 }