Example #1
0
 private static BindOptions <TType, TInterface> MapMethod <TType, TInterface>
 (
     this BindOptions <TType, TInterface> bindOptions,
     LambdaExpression targetMethodExpression,
     LambdaExpression interfaceMethodExpression
 )
 => bindOptions.MapChain
 (
     targetMethod: targetMethodExpression.FetchMethodCall(),
     interfaceMethod: interfaceMethodExpression.FetchMethodCall()
 );