public virtual BindingBuilder <TChildTarget, TSource> Bind <TChildTarget>(TChildTarget target) where TChildTarget : class { var builder = new BindingBuilder <TChildTarget, TSource>(context, target); this.builders.Add(builder); return(builder); }
public virtual BindingBuilder <TTarget, TSource> Bind() { var builder = new BindingBuilder <TTarget, TSource>(this.context, this.target); this.builders.Add(builder); return(builder); }