• 大小: 10.06MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-07
  • 语言: C#
  • 标签: .Net  MVC  BootSt  EF  

资源简介

项目使用 ASP.NET CORE 开发(src/DotNetCore目录),需要使用 vs2017 打开

资源截图

代码片段和文件信息

using Ace.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ace
{
    //public static class AceCheck
    //{
    //    public static void NotNull(this T val string errorMsg = null)
    //    {
    //        if (val == null)
    //            throw new InvalidDataException(errorMsg);
    //    }
    //    public static void NotNullOrEmpty(this object val string errorMsg = null)
    //    {
    //        if (val is string)
    //        {
    //            NotNullOrEmpty((string)val errorMsg);
    //            return;
    //        }
    //        else
    //        {
    //            NotNull(val errorMsg);
    //        }
    //    }
    //    public static void NotNullOrEmpty(this string val string errorMsg = null)
    //    {
    //        if (string.IsNullOrEmpty(val))
    //            throw new InvalidDataException(errorMsg);
    //    }
    //    public static void EnsureValid(this object obj)
    //    {
    //        List validationResults = new List();
    //        ValidationContext vc = new ValidationContext(obj null null);
    //        bool isValid = Validator.TryValidateobject
    //                (obj vc validationResults true);
    //        if (isValid == false)
    //        {
    //            throw new InvalidDataException(validationResults[0].ErrorMessage);
    //        }
    //    }
    //}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-01-06 16:07  Ace-master\
     文件        1911  2018-01-06 16:07  Ace-master\.gitignore
     文件       11357  2018-01-06 16:07  Ace-master\LICENSE
     文件         574  2018-01-06 16:07  Ace-master\README.md
     目录           0  2018-01-06 16:07  Ace-master\src\
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\
     文件         583  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Ace.Application.System.csproj
     文件         955  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IAccountAppService.cs
     文件         425  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IDepartmentAppService.cs
     文件         404  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IDutyAppService.cs
     文件         465  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IModuleAppService.cs
     文件         527  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IRoleAppService.cs
     文件         421  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IRoleAuthorizeAppService.cs
     文件         802  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\IUserAppService.cs
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\
     文件        4300  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\AccountAppService.cs
     文件        1024  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\DepartmentAppService.cs
     文件         930  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\DutyAppService.cs
     文件        1266  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\ModuleAppService.cs
     文件        3372  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\RoleAppService.cs
     文件        1642  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\RoleAuthorizeAppService.cs
     文件        4667  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Implements\UserAppService.cs
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Account\
     文件         682  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Account\ModifyAccountInfoInput.cs
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Department\
     文件        1274  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Department\AddOrUpdateDepartmentInput.cs
     文件         302  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Department\SimpleDepartmentModel.cs
     目录           0  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Duty\
     文件         909  2018-01-06 16:07  Ace-master\src\DotNetCore\Ace.Application.System\Models\Duty\AddorUpdateDutyInput.cs
............此处省略1797个文件信息

评论

共有 条评论