本文整理汇总了C#中T4MVC_ActionResult类的典型用法代码示例。如果您正苦于以下问题:C# T4MVC_ActionResult类的具体用法?C# T4MVC_ActionResult怎么用?C# T4MVC_ActionResult使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
T4MVC_ActionResult类属于命名空间,在下文中一共展示了T4MVC_ActionResult类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Pagination
public override System.Web.Mvc.ActionResult Pagination(int count, int page, int pageSize) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Pagination);
callInfo.RouteValueDictionary.Add("count", count);
callInfo.RouteValueDictionary.Add("page", page);
callInfo.RouteValueDictionary.Add("pageSize", pageSize);
return callInfo;
}
示例2: Success
public override System.Web.Mvc.ActionResult Success(string name, string email, string password) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Success);
callInfo.RouteValueDictionary.Add("name", name);
callInfo.RouteValueDictionary.Add("email", email);
callInfo.RouteValueDictionary.Add("password", password);
return callInfo;
}
示例3: Login
public override System.Web.Mvc.ActionResult Login(string username, string password, string returnUrl) {
var callInfo = new T4MVC_ActionResult(Area, Name, Actions.Login);
callInfo.RouteValues.Add("username", username);
callInfo.RouteValues.Add("password", password);
callInfo.RouteValues.Add("returnUrl", returnUrl);
return callInfo;
}
示例4: Index
public override System.Web.Mvc.ActionResult Index(System.Exception exc, string message, string controllerName, string actionName) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Index);
callInfo.RouteValueDictionary.Add("exc", exc);
callInfo.RouteValueDictionary.Add("message", message);
callInfo.RouteValueDictionary.Add("controllerName", controllerName);
callInfo.RouteValueDictionary.Add("actionName", actionName);
return callInfo;
}
示例5: LogOn
public override System.Web.Mvc.ActionResult LogOn(string userName, string password, bool rememberMe, string returnUrl) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn);
callInfo.RouteValueDictionary.Add("userName", userName);
callInfo.RouteValueDictionary.Add("password", password);
callInfo.RouteValueDictionary.Add("rememberMe", rememberMe);
callInfo.RouteValueDictionary.Add("returnUrl", returnUrl);
return callInfo;
}
开发者ID:mwassem,项目名称:extensions-for-asp-net-mvc-discontinued,代码行数:8,代码来源:AccountController.generated.cs
示例6: Index
public override System.Web.Mvc.ActionResult Index(string productId, int imageIndex, int? w, int? h) {
var callInfo = new T4MVC_ActionResult(Area, Name, Actions.Index);
callInfo.RouteValues.Add("productId", productId);
callInfo.RouteValues.Add("imageIndex", imageIndex);
callInfo.RouteValues.Add("w", w);
callInfo.RouteValues.Add("h", h);
return callInfo;
}
示例7: Update
public override System.Web.Mvc.ActionResult Update(string type, string productId, string optionName, int? quantity) {
var callInfo = new T4MVC_ActionResult(Area, Name, Actions.Update);
callInfo.RouteValues.Add("type", type);
callInfo.RouteValues.Add("productId", productId);
callInfo.RouteValues.Add("optionName", optionName);
callInfo.RouteValues.Add("quantity", quantity);
return callInfo;
}
示例8: Solve
public override System.Web.Mvc.ActionResult Solve(int? sum, int? count, string include, string exclude) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Solve);
callInfo.RouteValueDictionary.Add("sum", sum);
callInfo.RouteValueDictionary.Add("count", count);
callInfo.RouteValueDictionary.Add("include", include);
callInfo.RouteValueDictionary.Add("exclude", exclude);
return callInfo;
}
示例9: ListPackages
public override System.Web.Mvc.ActionResult ListPackages(string curatedFeedName, string q, string sortOrder, int page, bool prerelease) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.ListPackages);
callInfo.RouteValueDictionary.Add("curatedFeedName", curatedFeedName);
callInfo.RouteValueDictionary.Add("q", q);
callInfo.RouteValueDictionary.Add("sortOrder", sortOrder);
callInfo.RouteValueDictionary.Add("page", page);
callInfo.RouteValueDictionary.Add("prerelease", prerelease);
return callInfo;
}
示例10: ViewPost
public override System.Web.Mvc.ActionResult ViewPost(int year, int month, int day, int id, string title) {
var callInfo = new T4MVC_ActionResult(Area, Name, Actions.ViewPost);
callInfo.RouteValues.Add("year", year);
callInfo.RouteValues.Add("month", month);
callInfo.RouteValues.Add("day", day);
callInfo.RouteValues.Add("id", id);
callInfo.RouteValues.Add("title", title);
return callInfo;
}
示例11: Feed
public override System.Web.Mvc.ActionResult Feed(int? page, int? pageSize) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Feed);
callInfo.RouteValueDictionary.Add("page", page);
callInfo.RouteValueDictionary.Add("pageSize", pageSize);
return callInfo;
}
示例12: Jigsaw
public override System.Web.Mvc.ActionResult Jigsaw(int contactId, int jigsawId, string externalName, string externalTitle, System.DateTime lastUpdated, string externalEmail, string externalPhone) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Jigsaw);
callInfo.RouteValueDictionary.Add("contactId", contactId);
callInfo.RouteValueDictionary.Add("jigsawId", jigsawId);
callInfo.RouteValueDictionary.Add("externalName", externalName);
callInfo.RouteValueDictionary.Add("externalTitle", externalTitle);
callInfo.RouteValueDictionary.Add("lastUpdated", lastUpdated);
callInfo.RouteValueDictionary.Add("externalEmail", externalEmail);
callInfo.RouteValueDictionary.Add("externalPhone", externalPhone);
return callInfo;
}
示例13: Index
public override System.Web.Mvc.ActionResult Index(string key0, string key1, string key2, string key3, string key4, string tag, string q, string s, bool? afford, int? offset, int? count) {
var callInfo = new T4MVC_ActionResult(Area, Name, Actions.Index);
callInfo.RouteValues.Add("key0", key0);
callInfo.RouteValues.Add("key1", key1);
callInfo.RouteValues.Add("key2", key2);
callInfo.RouteValues.Add("key3", key3);
callInfo.RouteValues.Add("key4", key4);
callInfo.RouteValues.Add("tag", tag);
callInfo.RouteValues.Add("q", q);
callInfo.RouteValues.Add("s", s);
callInfo.RouteValues.Add("afford", afford);
callInfo.RouteValues.Add("offset", offset);
callInfo.RouteValues.Add("count", count);
return callInfo;
}
示例14: Analyze
public override System.Web.Mvc.ActionResult Analyze(bool verbose, string q) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.Analyze);
callInfo.RouteValueDictionary.Add("verbose", verbose);
callInfo.RouteValueDictionary.Add("q", q);
return callInfo;
}
示例15: AddComment
public override System.Web.Mvc.ActionResult AddComment(string id, CivilDoIt.WebFrontend.Models.Shared.AddCommentFormViewModel form) {
var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.AddComment);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", id);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "form", form);
return callInfo;
}