当前位置: 首页>>代码示例>>C#>>正文


C# T4MVC_System_Web_Mvc_ActionResult类代码示例

本文整理汇总了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;
        }
开发者ID:garysharp,项目名称:Disco,代码行数:8,代码来源:T4MVCExtensions.cs

示例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;
        }
开发者ID:garysharp,项目名称:Disco,代码行数:8,代码来源:T4MVCExtensions.cs

示例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;
        }
开发者ID:garysharp,项目名称:Disco,代码行数:9,代码来源:T4MVCExtensions.cs

示例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;
        }
开发者ID:garysharp,项目名称:Disco,代码行数:9,代码来源:T4MVCExtensions.cs

示例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);
        }
开发者ID:garysharp,项目名称:Disco,代码行数:14,代码来源:T4MVCExtensions.cs

示例6: LogoutOverride

 partial void LogoutOverride(T4MVC_System_Web_Mvc_ActionResult callInfo);
开发者ID:4Rebin,项目名称:MVCBlog,代码行数:1,代码来源:LoginController.generated.cs

示例7: IndexOverride

 partial void IndexOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, MVCBlog.Website.Models.InputModels.Login.LoginFormInput loginFormInput, string returnUrl);
开发者ID:4Rebin,项目名称:MVCBlog,代码行数:1,代码来源:LoginController.generated.cs

示例8: ServerVariables

 public override System.Web.Mvc.ActionResult ServerVariables()
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.ServerVariables);
     return callInfo;
 }
开发者ID:ByteCarrot,项目名称:Masslog,代码行数:5,代码来源:ActivityController.generated.cs

示例9: Exceptions

 public override System.Web.Mvc.ActionResult Exceptions()
 {
     var callInfo = new T4MVC_System_Web_Mvc_ActionResult(Area, Name, ActionNames.Exceptions);
     return callInfo;
 }
开发者ID:ByteCarrot,项目名称:Masslog,代码行数:5,代码来源:ActivityController.generated.cs

示例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;
 }
开发者ID:rengasamy,项目名称:elFinder.Net,代码行数:7,代码来源:HomeController.generated.cs

示例11: CreateOverride

 partial void CreateOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, Decision.ViewModel.Role.AddRoleViewModel viewModel);
开发者ID:raminmjj,项目名称:Decision,代码行数:1,代码来源:RoleController.generated.cs

示例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;
 }
开发者ID:raminmjj,项目名称:Decision,代码行数:6,代码来源:RoleController.generated.cs

示例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);
 }
开发者ID:raminmjj,项目名称:Decision,代码行数:7,代码来源:RoleController.generated.cs

示例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;
 }
开发者ID:garysharp,项目名称:Disco,代码行数:7,代码来源:API.ExpressionsController.generated.cs

示例15: FilesOverride

 partial void FilesOverride(T4MVC_System_Web_Mvc_ActionResult callInfo, string subFolder);
开发者ID:rengasamy,项目名称:elFinder.Net,代码行数:1,代码来源:HomeController.generated.cs


注:本文中的T4MVC_System_Web_Mvc_ActionResult类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。