Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="XmlLogger"/> class.
 /// </summary>
 /// <param name="stopWatchStack">The stop watch stack.</param>
 public XmlLogger(StopWatchStack stopWatchStack)
 {
     _xmlWriter = new XmlTextWriter(_buffer);
     _stopWatchStack = stopWatchStack;
 }
Esempio n. 2
0
 protected void CreateStopWatchStackAndSetUpMocks() {
     startTime = new DateTime(2004, 12, 1, 12, 0, 0);
     mockDateTimeProvider = new MockDateTimeProvider();
     stack = new StopWatchStack(mockDateTimeProvider);
 }