The method KnockoutExpressionConverter.VisitMethodCall(MethodCallExpression) needs to check if the called method is IKnockoutContext.GetIndex(), compile it to a lambda, execute it to retrieve the index binding, and return it from the visitor method. This should allow complex binding expressions to support GetIndex().
The method
KnockoutExpressionConverter.VisitMethodCall(MethodCallExpression)
needs to check if the called method isIKnockoutContext.GetIndex()
, compile it to a lambda, execute it to retrieve the index binding, and return it from the visitor method. This should allow complex binding expressions to supportGetIndex()
.