Git.Storage.Web/Global.asax.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using Git.Framework.Email;
using Git.Framework.Resource;
using Git.Storage.Common;
using Git.Storage.Common.EnumJson;
using Git.Storage.Provider.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;

namespace Git.Storage.Web
{
    public class MvcApplication : System.Web.HttpApplication
    {
        protected void Application_Start()
        {
            AreaRegistration.RegisterAllAreas();
            RouteConfig.RegisterRoutes(RouteTable.Routes);



            //加载缓存修改文
            ResourceManager.LoadCache();
            //注册枚举值
            EnumToJsonHelper.Reg(typeof(EAudite),
                typeof(EBadType),
                typeof(ECusType),
                typeof(EInType),
                typeof(EEquipmentStatus),
                typeof(EIsDelete),
                typeof(ELocalType),
                typeof(EMoveType),
                typeof(EOutType),
                typeof(EProductType),
                typeof(EReturnStatus),
                typeof(EStorageType),
                typeof(EOpType),
                typeof(ECheckType),
                typeof(EReturnType),
                typeof(EChange),
                typeof(EOrderStatus),
                typeof(EOrderType),
                typeof(ESupType),
                typeof(EDataSourceType),
                typeof(EReportType),
                typeof(EElementType),
                typeof(ESequence),
                typeof(EUnit),
                typeof(EBool));

            SetVersion();

            //初始化规则
            SequenceProvider sequenceProvider = new SequenceProvider();
            sequenceProvider.Init();
后面还有 15 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。