예제 #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 }));
 }
 public static IActionBuilder GetDetails(this IActionBuilder builder, StockSearchModel searchModel, IFutureValueSetter <StockDetailModel> detailModel)
 {
     return(builder.Execute <IGetStockDetails>(new { symbol = searchModel.ToSymbol(), detailModel }));
 }
 public static IActionBuilder ConductContent(this IActionBuilder builder, IFutureValue <StockDetailModel> detailModel, Conductor <IStockTickerContentViewModel> conductor)
 {
     return(builder.Execute <IConductStockTickerContent>(new { detailModel, conductor = (Action <IStockTickerContentViewModel>)conductor.ActivateItem }));
 }
 public static IActionBuilder ExecuteITestResult(this IActionBuilder builder)
 {
     return(builder.Execute <ITestResult>());
 }
 public static IActionBuilder ExecuteITestResult(this IActionBuilder builder, string input)
 {
     return(builder.Execute <ITestResult>(new { input }));
 }