示例#1
0
        public static int RegisterProperty(IProperty property)
        {
            int uniqueSortValue = PropertySortValue.GetUniqueSortValue(property.UniqueName, 1);

            PropertySortValue.sortValues.Add(uniqueSortValue);
            return(uniqueSortValue);
        }
示例#2
0
        public static int RegisterDesignTimeProperty(IPropertyId property)
        {
            int uniqueSortValue = PropertySortValue.GetUniqueSortValue(string.Concat("__BLEND", property.Name), PropertySortValue.DesignTimeSeedSortValue);

            PropertySortValue.sortValues.Add(uniqueSortValue);
            return(uniqueSortValue);
        }