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

            return(property);
        }
Exemplo 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);
        }