Esempio n. 1
0
        protected ExtendProperty GetProperty(string name)
        {
            int propertyKey = OwnerType.GetHashCode() ^ name.GetHashCode();
            var property    = ExtendPropertysProvider.Get(propertyKey);

            return(property);
        }
Esempio n. 2
0
        public static ExtendProperty GetProperty(Type ownerType, string propertyName)
        {
            int propertyKey = ownerType.GetHashCode() ^ propertyName.GetHashCode();
            var property    = ExtendPropertysProvider.Get(propertyKey);

            property.OwnerType = ownerType;
            return(property);
        }