예제 #1
0
 /// <summary>
 /// 注册
 /// </summary>
 public static void Register()
 {
     DataTable.Register(new DataTables.ValueDealer.FileLocationDisplay());
     GlobalOption.Register(new FormInputCreator.Handlers.FileHandler());
     GlobalOption.Register(typeof(HttpPostedFileBase), DealFile);
     GlobalOption.Register(typeof(HttpPostedFileWrapper), DealFile);
 }
예제 #2
0
 /// <summary>
 /// 注册
 /// </summary>
 public static void Register()
 {
     DataTable.Register(new DataTables.ValueDealer.FileLocationDisplay());
     GlobalOption.Register(new FormInputCreator.Handlers.FileHandler());
     GlobalOption.Register(typeof(Microsoft.AspNetCore.Http.IFormFile), DealFile);
 }