// Only exists for easier testing public void Populate(object target, IBindingContext context) { context.ForObject(target, () => populate(target.GetType(), context)); }
public void Bind(Type type, object instance, IBindingContext context) { context.ForObject(instance, () => populate(type, context)); }