コード例 #1
0
 /// <summary>
 /// Get's Javascript code that can be executed inside knockout data-bind attribute.
 /// </summary>
 public static string FormatKnockoutScript(JsExpression expression, bool allowDataGlobal = true, int dataContextLevel = 0) =>
 FormatKnockoutScript(expression.FormatParametrizedScript(), allowDataGlobal, dataContextLevel);