v7.3.2018.0614   重构高性能资源池,减少GC压力,增加线程池,让异步任务得到平等竞争CPU的机会
大石头 authored at 2018-06-14 17:56:44
4.32 KiB
X
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:4.0.30319.42000
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

namespace ASP
{
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Net;
    using System.Text;
    using System.Web;
    using System.Web.Helpers;
    using System.Web.Mvc;
    using System.Web.Mvc.Ajax;
    using System.Web.Mvc.Html;
    using System.Web.Routing;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.WebPages;
    using NewLife;
    using NewLife.Cube;
    using NewLife.Reflection;
    using NewLife.Web;
    using XCode;
    
    #line 1 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
    using XCode.Membership;
    
    #line default
    #line hidden
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
    [System.Web.WebPages.PageVirtualPathAttribute("~/Areas/Admin/Views/User/_Form_Action.cshtml")]
    public partial class _Areas_Admin_Views_User__Form_Action_cshtml : System.Web.Mvc.WebViewPage<dynamic>
    {
        public _Areas_Admin_Views_User__Form_Action_cshtml()
        {
        }
        public override void Execute()
        {
            
            #line 2 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
  
    var entity = Model as IEntity;
    var isNew = entity.IsNullKey;

            
            #line default
            #line hidden
WriteLiteral("\r\n");

            
            #line 6 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
 if (this.Has(PermissionFlags.Insert, PermissionFlags.Update))
{

            
            #line default
            #line hidden
WriteLiteral("    <div");

WriteLiteral(" class=\"clearfix form-actions col-sm-12 col-md-12\"");

WriteLiteral(">\r\n        <a");

WriteAttribute("href", Tuple.Create(" href=\"", 242), Tuple.Create("\"", 289)
, Tuple.Create(Tuple.Create("", 249), Tuple.Create<System.Object, System.Int32>(Href("~/Admin/User/ClearPassword/")
, 249), false)
            
            #line 9 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
, Tuple.Create(Tuple.Create("", 276), Tuple.Create<System.Object, System.Int32>(entity["ID"]
            
            #line default
            #line hidden
, 276), false)
);

WriteLiteral(" class=\"col-xs-1 btn btn-success btn-sm\"");

WriteLiteral(" title=\"数据库为空密码时,任何密码均可登录\"");

WriteLiteral(">清空密码</a>\r\n        <label");

WriteLiteral(" class=\"control-label col-xs-3 col-sm-4 col-md-4\"");

WriteLiteral("></label>\r\n        <button");

WriteLiteral(" type=\"submit\"");

WriteLiteral(" class=\"btn btn-success btn-sm\"");

WriteLiteral("><i");

WriteAttribute("class", Tuple.Create(" class=\"", 504), Tuple.Create("\"", 558)
, Tuple.Create(Tuple.Create("", 512), Tuple.Create("glyphicon", 512), true)
, Tuple.Create(Tuple.Create(" ", 521), Tuple.Create("glyphicon-", 522), true)
            
            #line 11 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
             , Tuple.Create(Tuple.Create("", 532), Tuple.Create<System.Object, System.Int32>(isNew ? "plus" : "save"
            
            #line default
            #line hidden
, 532), false)
);

WriteLiteral("></i><strong>");

            
            #line 11 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
                                                                                                                               Write(isNew ? "新增" : "保存");

            
            #line default
            #line hidden
WriteLiteral("</strong></button>\r\n        <button");

WriteLiteral(" type=\"button\"");

WriteLiteral(" class=\"btn btn-danger btn-sm\"");

WriteLiteral(" onclick=\"history.go(-1);\"");

WriteLiteral("><i");

WriteLiteral(" class=\"glyphicon glyphicon-remove\"");

WriteLiteral("></i><strong>取消</strong></button>\r\n    </div>\r\n");

            
            #line 14 "..\..\Areas\Admin\Views\User\_Form_Action.cshtml"
}
            
            #line default
            #line hidden
        }
    }
}
#pragma warning restore 1591