Example #1
0
        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);
        }
Example #2
0
        public virtual BindingBuilder <TTarget, TSource> Bind()
        {
            var builder = new BindingBuilder <TTarget, TSource>(this.context, this.target);

            this.builders.Add(builder);
            return(builder);
        }