Пример #1
0
        public void ExtractStaticFieldFromType()
        {
            var extracted = ObjectResolver.GetValue("StaticInt", typeof(TestExtractClass));

            Assert.IsNotNull(extracted);
        }
Пример #2
0
        public void ExtractStaticField()
        {
            var extracted = ObjectResolver.GetValue("StaticInt", new TestExtractClass());

            Assert.IsNotNull(extracted);
        }
Пример #3
0
        public void ExtractGenericMethod()
        {
            var extracted = ObjectResolver.GetValue("GenericMethod", new TestExtractClass());

            Assert.IsNotNull(extracted);
        }
Пример #4
0
        public void ExtractEvent()
        {
            var extracted = ObjectResolver.GetValue("SomeEvent", new TestExtractClass());

            Assert.IsNotNull(extracted);
        }
Пример #5
0
        public void ExtractOverloadMethod()
        {
            var extracted = ObjectResolver.GetValue("OverloadedMethod", new TestExtractClass());

            Assert.IsNotNull(extracted);
        }