Ejemplo n.º 1
0
 /// <summary>
 /// 创建配置属性实例
 /// </summary>
 /// <param name="properties">属性集合</param>
 /// <param name="readonly">是否只读</param>
 /// <returns>SettingProperty</returns>
 protected abstract SettingProperty CreateSettingProperty(SettingValueCollection properties, bool @readonly);
Ejemplo n.º 2
0
 /// <summary>
 /// 保护构造方法
 /// </summary>
 /// <param name="properties">属性集合</param>
 /// <param name="readonly">是否只读</param>
 protected SettingProperty(SettingValueCollection properties, bool @readonly)
 {
     this.properties = properties;
     this.@readonly  = @readonly;
 }