Example #1
0
        public static bool HasNonAbstractBasePropertyInPrimaryBase(this Class @class, Property property)
        {
            var baseProperty = @class.GetBaseProperty(property, true);

            return(baseProperty != null && !baseProperty.IsPure &&
                   !((Class)baseProperty.OriginalNamespace).IsInterface);
        }
Example #2
0
        public static bool HasNonAbstractBaseProperty(this Class @class, Property property)
        {
            var baseProperty = @class.GetBaseProperty(property, true, true);

            return(baseProperty != null && !baseProperty.IsPure);
        }