示例#1
0
        public static EventSourceRoot AssertGenerated(EventRegistry blob)
        {
            EventSourceRoot root = blob.GenerateEvents();

            Assert.Single(root.Events);
            return(root);
        }
示例#2
0
        public static void AssertNotGenerated(EventRegistry blob)
        {
            EventSourceRoot root = blob.GenerateEvents();

            Assert.Empty(root.Events);
        }