Esempio n. 1
0
        public static EventSourceRoot AssertGenerated(IEventRegistry blob)
        {
            EventSourceRoot root = blob.PeekEvents();

            Assert.Single(root.Events);
            return(root);
        }
Esempio n. 2
0
        public static void AssertNotGenerated(IEventRegistry blob)
        {
            EventSourceRoot root = blob.PeekEvents();

            Assert.Empty(root.Events);
        }