Catel.Test.Reflection.ReflectionExtensionsFacts.TheGetPropertyExMethod.ReturnsNoExplicitInterfacePropertiesWhenDisabled C# (CSharp) Метод

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

private ReturnsNoExplicitInterfacePropertiesWhenDisabled ( ) : void
Результат void
            public void ReturnsNoExplicitInterfacePropertiesWhenDisabled()
            {
                var propertyInfo = typeof (Person).GetPropertyEx("FirstName", allowExplicitInterfaceProperties: false);

                Assert.IsNull(propertyInfo);
            }