/// <summary> /// 从配置信息初始化 /// </summary> /// <param name="categoryName"></param> internal void InitFromConfiguration(UserRecentDataCategoryConfigurationElement elem) { this.Name = elem.Name; this.Description = elem.Description; this._list = new UserRecentDataCategoryItemCollection(this); this._definedProperties = new PropertyDefineCollection(); this._definedProperties.LoadPropertiesFromConfiguration(elem); this._defaultSize = elem.DefaultRecentCount; }
internal UserRecentDataCategory(UserRecentDataCategoryConfigurationElement elem) { InitFromConfiguration(elem); }