Пример #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);
        }
Пример #3
0
 public UnknownMember(IType declaringType, Microsoft.Expression.DesignModel.Metadata.MemberType memberType, string propertyName) : base(declaringType, propertyName)
 {
     this.memberType = memberType;
     this.sortValue  = PropertySortValue.RegisterProperty(this);
 }
Пример #4
0
 protected Property(IType declaringType, string name, IType propertyType, int sortValue) : base(declaringType, name)
 {
     this.propertyType = propertyType;
     this.sortValue    = (sortValue == PropertySortValue.NoValue ? PropertySortValue.RegisterProperty(this) : sortValue);
 }