Beispiel #1
0
 public CommandJavascriptBindingProperty CreateJs(IdBindingProperty id, ExpectedTypeBindingProperty?expectedType = null) =>
 new CommandJavascriptBindingProperty(CreateJsPostbackInvocation(
                                          id.Id,
                                          needsCommandArgs: expectedType?.Type?.GetDelegateArguments()?.Length.Apply(len => len != 0)
                                          ));
Beispiel #2
0
 public CommandJavascriptBindingProperty CreateJs(IdBindingProperty id) =>
 new CommandJavascriptBindingProperty(CreateJsPostbackInvocation(id.Id));