Jelajahi Sumber

将命名空间 NewWebApplicationSample => WebApplicationSample

Roc 7 tahun lalu
induk
melakukan
ef5033c520

+ 2 - 2
samples/WebApplicationSample/Controllers/AlipayController.cs

@@ -3,10 +3,10 @@ using Essensoft.AspNetCore.Payment.Alipay.Domain;
 using Essensoft.AspNetCore.Payment.Alipay.Notify;
 using Essensoft.AspNetCore.Payment.Alipay.Request;
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class AlipayController : Controller
     {

+ 2 - 2
samples/WebApplicationSample/Controllers/HomeController.cs

@@ -1,8 +1,8 @@
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Diagnostics;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class HomeController : Controller
     {

+ 2 - 2
samples/WebApplicationSample/Controllers/JDPayController.cs

@@ -2,10 +2,10 @@
 using Essensoft.AspNetCore.Payment.JDPay.Notify;
 using Essensoft.AspNetCore.Payment.JDPay.Request;
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class JDPayController : Controller
     {

+ 2 - 2
samples/WebApplicationSample/Controllers/LianLianPayController.cs

@@ -2,10 +2,10 @@
 using Essensoft.AspNetCore.Payment.LianLianPay.Notify;
 using Essensoft.AspNetCore.Payment.LianLianPay.Request;
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class LianLianPayController : Controller
     {

+ 1 - 1
samples/WebApplicationSample/Controllers/NotifyController.cs

@@ -14,7 +14,7 @@ using Microsoft.AspNetCore.Mvc;
 using System;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     #region 支付宝异步通知
 

+ 2 - 2
samples/WebApplicationSample/Controllers/QPayController.cs

@@ -1,10 +1,10 @@
 using Essensoft.AspNetCore.Payment.QPay;
 using Essensoft.AspNetCore.Payment.QPay.Request;
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class QPayController : Controller
     {

+ 2 - 2
samples/WebApplicationSample/Controllers/UnionPayController.cs

@@ -2,10 +2,10 @@
 using Essensoft.AspNetCore.Payment.UnionPay.Notify;
 using Essensoft.AspNetCore.Payment.UnionPay.Request;
 using Microsoft.AspNetCore.Mvc;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class UnionPayController : Controller
     {

+ 2 - 2
samples/WebApplicationSample/Controllers/WeChatPayController.cs

@@ -2,10 +2,10 @@
 using Essensoft.AspNetCore.Payment.WeChatPay.Request;
 using Microsoft.AspNetCore.Mvc;
 using Newtonsoft.Json;
-using NewWebApplicationSample.Models;
+using WebApplicationSample.Models;
 using System.Threading.Tasks;
 
-namespace NewWebApplicationSample.Controllers
+namespace WebApplicationSample.Controllers
 {
     public class WeChatPayController : Controller
     {

+ 1 - 1
samples/WebApplicationSample/Helpers/HMTLHelperExtensions.cs

@@ -1,6 +1,6 @@
 using Microsoft.AspNetCore.Mvc.Rendering;
 
-namespace NewWebApplicationSample
+namespace WebApplicationSample
 {
     public static class HtmlHelpers
     {

+ 1 - 1
samples/WebApplicationSample/Models/AlipayViewModel.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class AlipayTradePreCreateViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/ErrorViewModel.cs

@@ -1,4 +1,4 @@
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class ErrorViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/JDPayViewModel.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class JDPaySaveOrderViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/LianLianPayViewModel.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class LianLianPayWebQuickPayViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/QPayViewModel.cs

@@ -1,7 +1,7 @@
 using System;
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class QPayMicroPayViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/UnionPayViewModel.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class UnionPayForm_6_2_FrontConsumeViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Models/WeChatPayViewModel.cs

@@ -1,6 +1,6 @@
 using System.ComponentModel.DataAnnotations;
 
-namespace NewWebApplicationSample.Models
+namespace WebApplicationSample.Models
 {
     public class WeChatPayMicroPayViewModel
     {

+ 1 - 1
samples/WebApplicationSample/Program.cs

@@ -1,7 +1,7 @@
 using Microsoft.AspNetCore;
 using Microsoft.AspNetCore.Hosting;
 
-namespace NewWebApplicationSample
+namespace WebApplicationSample
 {
     public class Program
     {

+ 1 - 1
samples/WebApplicationSample/Properties/launchSettings.json

@@ -15,7 +15,7 @@
         "ASPNETCORE_ENVIRONMENT": "Development"
       }
     },
-    "NewWebApplicationSample": {
+    "WebApplicationSample": {
       "commandName": "Project",
       "launchBrowser": true,
       "environmentVariables": {

+ 1 - 1
samples/WebApplicationSample/Startup.cs

@@ -16,7 +16,7 @@ using Microsoft.Extensions.Configuration;
 using Microsoft.Extensions.DependencyInjection;
 using Microsoft.Extensions.Logging;
 
-namespace NewWebApplicationSample
+namespace WebApplicationSample
 {
     public class Startup
     {

+ 2 - 2
samples/WebApplicationSample/Views/_ViewImports.cshtml

@@ -1,3 +1,3 @@
-@using NewWebApplicationSample
-@using NewWebApplicationSample.Models
+@using WebApplicationSample
+@using WebApplicationSample.Models
 @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers