Catel.Test.Reflection.ReflectionExtensionsFacts.TheIsInstanceOfTypeExMethod.ReturnsFalseForNonInheritingReferenceType C# (CSharp) Метод

ReturnsFalseForNonInheritingReferenceType() приватный Метод

private ReturnsFalseForNonInheritingReferenceType ( ) : void
Результат void
            public void ReturnsFalseForNonInheritingReferenceType()
            {
                var type = typeof(Exception);
                var instance = new EventArgs();

                Assert.IsFalse(type.IsInstanceOfTypeEx(instance));
            }