コード例 #1
0
ファイル: BasicUndoHistoryTest.cs プロジェクト: zf724/VsVim
 public BasicUndoHistoryTest()
 {
     _context             = new object();
     _basicUndoHistoryRaw = new BasicUndoHistory(_context);
     _basicUndoHistory    = _basicUndoHistoryRaw;
     _factory             = new MockRepository(MockBehavior.Loose);
 }
コード例 #2
0
 private bool TryGetHistory(object context, out IBasicUndoHistory basicUndoHistory)
 {
     return(_map.TryGetValue(context, out basicUndoHistory));
 }
コード例 #3
0
 bool IBasicUndoHistoryRegistry.TryGetBasicUndoHistory(object context, out IBasicUndoHistory basicUndoHistory)
 {
     return(TryGetHistory(context, out basicUndoHistory));
 }
コード例 #4
0
 private bool TryGetHistory(object context, out IBasicUndoHistory basicUndoHistory)
 {
     return _map.TryGetValue(context, out basicUndoHistory);
 }
コード例 #5
0
 bool IBasicUndoHistoryRegistry.TryGetBasicUndoHistory(object context, out IBasicUndoHistory basicUndoHistory)
 {
     return TryGetHistory(context, out basicUndoHistory);
 }
コード例 #6
0
 public BasicUndoHistoryTest()
 {
     _context             = new object();
     _basicUndoHistoryRaw = new BasicUndoHistory(_context);
     _basicUndoHistory    = _basicUndoHistoryRaw;
 }