示例#1
0
 static public void SetToObject <TModel, TView, TComponent, TBindingCollection>(
     this IBindingBuilder <TModel, TView, TComponent, TBindingCollection> builder,
     Func <TView, GlyphObject> objectGetter)
     where TView : class, IGlyphComponent
     where TComponent : IGlyphComponent
 {
     builder.Do((m, v) => objectGetter(v).SetKeyedComponent('%' + builder.Name, builder.Getter(m, v)));
 }