示例#1
0
 public List <string> GetModelKeys(ComponentModelBase model)
 {
     return(new List <string> {
         model.ApiKey
     });
 }
示例#2
0
 public object GetContextData <TModel>(ComponentModelBase componentModel, TModel model)
 {
     return(DoGetContextData(componentModel as T, model));
 }
示例#3
0
 public void BindModel <TModel>(ComponentModelBase componentModel, TModel model, out List <string> errorMessages)
 {
     DoBindModel(componentModel as T, model, out errorMessages);
 }
示例#4
0
 public object GetModel <TModel>(ComponentModelBase componentModel, TModel model)
 {
     return(DoGetModel(componentModel as T, model));
 }
示例#5
0
 public bool ShouldBeBound(ComponentModelBase componentModel)
 {
     return(GetShouldBeBound(componentModel as T));
 }
示例#6
0
 public void BindChildComponents(FormComponent component, ComponentModelBase model)
 {
     DoBindChildComponents(component, model as T);
 }