From dbe5aa3f390058b92fc0288c15eca57b2464b55f Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Tue, 30 Jun 2020 11:55:06 +0800 Subject: [PATCH] rename LINGYUN.Abp.RedisLock to LINGYUN.Abp.DistributedLock.Redis --- .../LINGYUN.Abp.DistributedLock.Redis.csproj} | 0 .../LINGYUN/Abp/DistributedLock}/Redis/AbpRedisLockModule.cs | 2 +- .../Abp/DistributedLock}/Redis/RedisDistributedLock.cs | 2 +- .../LINGYUN/Abp/DistributedLock}/Redis/RedisLockOptions.cs | 2 +- .../LINGYUN.Abp.DistributedLock.csproj | 4 ++++ .../DistributedLockException.cs | 2 +- .../Abp/{Distributed => DistributedLock}/IDistributedLock.cs | 2 +- 7 files changed, 9 insertions(+), 5 deletions(-) rename aspnet-core/modules/common/{LINGYUN.Abp.RedisLock/LINGYUN.Abp.RedisLock.csproj => LINGYUN.Abp.DistributedLock.Redis/LINGYUN.Abp.DistributedLock.Redis.csproj} (100%) rename aspnet-core/modules/common/{LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed => LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock}/Redis/AbpRedisLockModule.cs (90%) rename aspnet-core/modules/common/{LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed => LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock}/Redis/RedisDistributedLock.cs (99%) rename aspnet-core/modules/common/{LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed => LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock}/Redis/RedisLockOptions.cs (94%) rename aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/{Distributed => DistributedLock}/DistributedLockException.cs (87%) rename aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/{Distributed => DistributedLock}/IDistributedLock.cs (98%) diff --git a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN.Abp.RedisLock.csproj b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN.Abp.DistributedLock.Redis.csproj similarity index 100% rename from aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN.Abp.RedisLock.csproj rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN.Abp.DistributedLock.Redis.csproj diff --git a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/AbpRedisLockModule.cs b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/AbpRedisLockModule.cs similarity index 90% rename from aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/AbpRedisLockModule.cs rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/AbpRedisLockModule.cs index 156df84c2..4db2f2f5e 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/AbpRedisLockModule.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/AbpRedisLockModule.cs @@ -1,7 +1,7 @@ using Microsoft.Extensions.DependencyInjection; using Volo.Abp.Modularity; -namespace LINGYUN.Abp.Distributed.Redis +namespace LINGYUN.Abp.DistributedLock.Redis { public class AbpRedisLockModule : AbpModule { diff --git a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisDistributedLock.cs b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisDistributedLock.cs similarity index 99% rename from aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisDistributedLock.cs rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisDistributedLock.cs index 417dbe73e..e7deeed58 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisDistributedLock.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisDistributedLock.cs @@ -10,7 +10,7 @@ using System.Threading.Tasks; using Volo.Abp; using Volo.Abp.DependencyInjection; -namespace LINGYUN.Abp.Distributed.Redis +namespace LINGYUN.Abp.DistributedLock.Redis { [ExposeServices(typeof(IDistributedLock))] [Dependency(ServiceLifetime.Singleton, TryRegister = true)] diff --git a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisLockOptions.cs b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisLockOptions.cs similarity index 94% rename from aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisLockOptions.cs rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisLockOptions.cs index e24941885..1a60340be 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.RedisLock/LINGYUN/Abp/Distributed/Redis/RedisLockOptions.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock.Redis/LINGYUN/Abp/DistributedLock/Redis/RedisLockOptions.cs @@ -1,7 +1,7 @@ using Microsoft.Extensions.Options; using StackExchange.Redis; -namespace LINGYUN.Abp.Distributed.Redis +namespace LINGYUN.Abp.DistributedLock.Redis { public class RedisLockOptions : IOptions { diff --git a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN.Abp.DistributedLock.csproj b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN.Abp.DistributedLock.csproj index e5287dda7..eed5083c1 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN.Abp.DistributedLock.csproj +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN.Abp.DistributedLock.csproj @@ -12,4 +12,8 @@ D:\LocalNuget + + + + diff --git a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/DistributedLockException.cs b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/DistributedLockException.cs similarity index 87% rename from aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/DistributedLockException.cs rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/DistributedLockException.cs index 4e39301a3..2a9e045e2 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/DistributedLockException.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/DistributedLockException.cs @@ -1,7 +1,7 @@ using LINGYUN.Abp.ExceptionHandling; using System; -namespace LINGYUN.Abp.Distributed +namespace LINGYUN.Abp.DistributedLock { public class DistributedLockException : Exception, IHasNotifierErrorMessage { diff --git a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/IDistributedLock.cs b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/IDistributedLock.cs similarity index 98% rename from aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/IDistributedLock.cs rename to aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/IDistributedLock.cs index fc46c4a74..3b1b1d864 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/Distributed/IDistributedLock.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.DistributedLock/LINGYUN/Abp/DistributedLock/IDistributedLock.cs @@ -2,7 +2,7 @@ using System.Threading; using System.Threading.Tasks; -namespace LINGYUN.Abp.Distributed +namespace LINGYUN.Abp.DistributedLock { /// /// 分布式锁接口