Пример #1
0
 ISubsequentSourceBindingOptions IMultiSourceBindingOptions.To(object sourceObject, string sourcePath)
 {
     _currentChildBinding = new Binding {
         SourceObject = sourceObject, SourcePath = sourcePath
     };
     return(this);
 }
Пример #2
0
 ISubsequentSourceBindingOptions IMultiSourceBindingOptions.To <TSource>(
     TSource sourceObject, Expression <Func <TSource, object> > sourceExpression)
 {
     _currentChildBinding = new TypedBinding <object, TSource> {
         SourceObject = sourceObject, SourceExpression = sourceExpression
     };
     return(this);
 }