コード例 #1
0
 public static IActionBuilder Notify(this IActionBuilder builder, object message)
 {
     return(builder.Execute <INotify>(new { message }));
 }
コード例 #2
0
 public static IActionBuilder Search(this IActionBuilder builder, string searchPattern, ICollection <StockSearchModel> foundStocks)
 {
     return(builder.Execute <ISearchStocks>(new { searchPattern, foundStocks }));
 }
コード例 #3
0
 public static IActionBuilder SuggestUsernames(this IActionBuilder builder, PotentialNewUserModel potentialNewUser, ICollection <string> suggestedUsernames)
 {
     return(builder.Execute <ISuggestUsernames>(new { potentialNewUser, suggestedUsernames }));
 }
コード例 #4
0
 public static IActionBuilder GetDetails(this IActionBuilder builder, StockSearchModel searchModel, IFutureValueSetter <StockDetailModel> detailModel)
 {
     return(builder.Execute <IGetStockDetails>(new { symbol = searchModel.ToSymbol(), detailModel }));
 }
コード例 #5
0
 public static IActionBuilder ConductContent(this IActionBuilder builder, IFutureValue <StockDetailModel> detailModel, Conductor <IStockTickerContentViewModel> conductor)
 {
     return(builder.Execute <IConductStockTickerContent>(new { detailModel, conductor = (Action <IStockTickerContentViewModel>)conductor.ActivateItem }));
 }
コード例 #6
0
 public static IActionBuilder ExecuteITestResult(this IActionBuilder builder)
 {
     return(builder.Execute <ITestResult>());
 }
コード例 #7
0
 public static IActionBuilder ExecuteITestResult(this IActionBuilder builder, string input)
 {
     return(builder.Execute <ITestResult>(new { input }));
 }