本文整理汇总了C#中T4MVC_System_Web_Mvc_ActionResult类的典型用法代码示例。如果您正苦于以下问题:C# T4MVC_System_Web_Mvc_ActionResult类的具体用法?C# T4MVC_System_Web_Mvc_ActionResult怎么用?C# T4MVC_System_Web_Mvc_ActionResult使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
T4MVC_System_Web_Mvc_ActionResult类属于命名空间,在下文中一共展示了T4MVC_System_Web_Mvc_ActionResult类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Attachments
public virtual ActionResult Attachments(string id)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Attachments);
Disco.Web.Controllers.UserController.T4MVCAddUserIdRouteValues(callInfo, id);
return callInfo;
}
示例2: Show
public virtual System.Web.Mvc.ActionResult Show(string id)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Show);
T4MVCAddUserIdRouteValues(callInfo, id);
return callInfo;
}
示例3: AttachmentUpload
public virtual ActionResult AttachmentUpload(string id, string Comments)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.AttachmentUpload);
Disco.Web.Controllers.UserController.T4MVCAddUserIdRouteValues(callInfo, id);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Comments", Comments);
return callInfo;
}
示例4: GeneratePdfPackage
public virtual ActionResult GeneratePdfPackage(string id, string DocumentTemplatePackageId)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.GeneratePdfPackage);
Disco.Web.Controllers.UserController.T4MVCAddUserIdRouteValues(callInfo, id);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "DocumentTemplatePackageId", DocumentTemplatePackageId);
return callInfo;
}
示例5: T4MVCAddUserIdRouteValues
internal static void T4MVCAddUserIdRouteValues(T4MVC_System_Web_Mvc_ActionResult callInfo, string UserId)
{
var slashIndex = UserId.IndexOf('\\');
if (slashIndex < 0)
throw new ArgumentException("The User Id is not in the correct format ({Domain}\\{Id})", "id");
string userDomain = UserId.Substring(0, slashIndex);
if (userDomain.Equals(ActiveDirectory.Context.PrimaryDomain.NetBiosName, StringComparison.OrdinalIgnoreCase))
userDomain = null; // Url doesn't contain Domain if it is the default.
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "id", UserId.Substring(slashIndex + 1));
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Domain", userDomain);
}
示例6: LogoutOverride
partial void LogoutOverride(T4MVC_System_Web_Mvc_ActionResult callInfo);
示例7: IndexOverride
partial void IndexOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, MVCBlog.Website.Models.InputModels.Login.LoginFormInput loginFormInput, string returnUrl);
示例8: ServerVariables
public override System.Web.Mvc.ActionResult ServerVariables()
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ServerVariables);
return callInfo;
}
示例9: Exceptions
public override System.Web.Mvc.ActionResult Exceptions()
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Exceptions);
return callInfo;
}
示例10: Files
public override System.Web.Mvc.ActionResult Files(string subFolder)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Files);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "subFolder", subFolder);
FilesOverride(callInfo, subFolder);
return callInfo;
}
示例11: CreateOverride
partial void CreateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Decision.ViewModel.Role.AddRoleViewModel viewModel);
示例12: Create
public override System.Web.Mvc.ActionResult Create()
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Create);
CreateOverride(callInfo);
return callInfo;
}
示例13: ListAjax
public override System.Threading.Tasks.Task<System.Web.Mvc.ActionResult> ListAjax(Decision.ViewModel.Role.RoleSearchRequest request)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ListAjax);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "request", request);
ListAjaxOverride(callInfo, request);
return System.Threading.Tasks.Task.FromResult(callInfo as ActionResult);
}
示例14: ValidateExpression
public override System.Web.Mvc.ActionResult ValidateExpression(string Expression)
{
var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ValidateExpression);
ModelUnbinderHelpers.AddRouteValues(callInfo.RouteValueDictionary, "Expression", Expression);
ValidateExpressionOverride(callInfo, Expression);
return callInfo;
}
示例15: FilesOverride
partial void FilesOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string subFolder);