public JsResultCommand(IWebView webView, IJavascriptToCSharpConverter converter, IResultCommand resultCommand) { _WebView = webView; _JavascriptToCSharpConverter = converter; _JSResultCommand = resultCommand; JSValue = _WebView.Factory.CreateObject(true); }
public static IResultCommand <T, TResult2> Select <T, TResult, TResult2>(this IResultCommand <T, TResult> command, Func <TResult, TResult2> selector) { if (command is AggregateResultCommand <T, TResult> ) { return((command as AggregateResultCommand <T, TResult>).Select(selector)); } if (command is DelegateResultCommand <T, TResult> ) { return((command as DelegateResultCommand <T, TResult>).Select(selector)); } return(Create <T, TResult2>(param => command.Results.Select(selector))); }
public JsResultCommand(HtmlViewContext context, ICSharpUnrootedObjectManager manager, IJavascriptToGlueMapper converter, IResultCommand <TResult> resultCommand) : base(context, manager, converter) { _JsResultCommand = resultCommand; }
public JSResultCommand(IWebView ijsobject, IResultCommand icValue) { _IWebView = ijsobject; _JSResultCommand = icValue; JSValue = _IWebView.Factory.CreateObject(true); }
public JsResultCommand Build(IResultCommand command) { return new JsResultCommand(_HTMLViewContext.WebView, _JavascriptToCSharpConverter, command); }
public JsResultCommand(HTMLViewContext context, IJavascriptToCSharpConverter converter, IResultCommand resultCommand) { _HTMLViewContext = context; _JavascriptToCSharpConverter = converter; _JSResultCommand = resultCommand; }
public JsMappableResultCommand(HtmlViewContext context, IJavascriptToCSharpConverter converter, IResultCommand <TResult> resultCommand) : base(context, converter, resultCommand) { }
public JsResultCommand(HtmlViewContext context, IJavascriptToCSharpConverter converter, IResultCommand <TArg, TResult> resultCommand) : base(context, converter) { _JsResultCommand = resultCommand; }
public void CreateResult(IResultCommand resultCommand) { ResultCommand = resultCommand; }
public JsResultCommand <TResult> Build <TResult>(IResultCommand <TResult> command) { return(Cache(command, new JsMappableResultCommand <TResult>(_HtmlViewContext, UnrootedObjectManager, _JavascriptToGlueMapper, command))); }
public static AggregateResultCommand <T, TResult> With <T, TResult>(this IResultCommand <T, TResult> command, Func <T, IEnumerable <TResult> > func) { return(new AggregateResultCommand <T, TResult>().With(command).With(func)); }
public static AggregateResultCommand <T, TResult> With <T, TResult>(this IResultCommand <T, TResult> command, IResultCommand <T, TResult> withCommand) { return(new AggregateResultCommand <T, TResult>().With(command).With(withCommand)); }
public JsResultCommand Build(IResultCommand command) { return(Cache(command, new JsMappableResultCommand(_HtmlViewContext, _JavascriptToCSharpConverter, command))); }
public JSResultCommand(IJSOBuilder builder, IResultCommand icValue) { _JSResultCommand = icValue; JSValue = builder.CreateJSO(); }
public JsResultCommand <TResult> Build <TResult>(IResultCommand <TResult> command) { return(Cache(command, new JsResultCommand <TResult>(_HtmlViewContext, _JavascriptToCSharpConverter, command))); }
public static TResult Execute <TResult>(this IDispatcher dispatcher, IResultCommand <TResult> command) { return((TResult)dispatcher.Dispatch(command)); }
public JSResultCommand(CefV8CompleteContext ijsobject, IJSOBuilder builder, IResultCommand icValue) { _CefV8Context = ijsobject; _JSResultCommand = icValue; JSValue = builder.CreateJSO(); }
public JsResultCommand Build(IResultCommand command) { return(new JsResultCommand(_HTMLViewContext, _JavascriptToCSharpConverter, command)); }
protected override void AssignParameters(List <CommandParameterBase> commandParameters) { LHS = (IVariableCommand)commandParameters[0]; RHS = (IResultCommand)commandParameters[1]; }
public JsMappableResultCommand(HtmlViewContext context, ICSharpUnrootedObjectManager manager, IJavascriptToGlueMapper converter, IResultCommand <TArg, TResult> resultCommand) : base(context, manager, converter, resultCommand) { }
public AggregateResultCommand <TResult> With(IResultCommand <TResult> command) { commands.Add(command); return(this); }
public int Update(IResultCommand command) { return(Database.Execute(command.SqlRaw, command.Parameters)); }