Beispiel #1
0
            /// <summary>
            /// Starts the time.
            /// </summary>
            /// <param name="perfData">Must not be null.</param>
            public ScopedStopWatch(PerformanceData perfData)
            {
                _perfData = perfData;

                _stopWatch = new Stopwatch();
                _stopWatch.Start();
            }
            /// <summary>
            /// Starts the time.
            /// </summary>
            /// <param name="perfData">Must not be null.</param>
            public ScopedStopWatch(PerformanceData perfData)
            {
                this.perfData = perfData;

                this.stopWatch = new Stopwatch();
                this.stopWatch.Start();
            }