예제 #1
0
 /// <summary>
 /// 根据模型类型设置参数选项。
 /// </summary>
 /// <param name="modelType">模型类型。</param>
 /// <param name="propertyName">绑定的属性。</param>
 public virtual void Bind(Type modelType, string propertyName)
 {
     SettingsBindManager.Bind(modelType, propertyName, this);
 }
예제 #2
0
 /// <summary>
 /// 根据模型类型设置参数选项。
 /// </summary>
 /// <param name="modelType">模型类型。</param>
 /// <param name="propertyName">绑定的属性。</param>
 public override void Bind(Type modelType, string propertyName)
 {
     SettingsBindManager.Bind(modelType, propertyName, this);
 }