Пример #1
0
        public void EntryCreatedSuccessFullyTest()
        {
            _block.Begin();
            _block.End();

            Assert.Equal(1, _block.Count);
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="block"></param>
        public TimerContext(TimingBlock block)
        {
            Guard.NotNull(block);

            _block = block;

            block.Begin();
        }