Browse Source

Update Distributed-Locking.md

pull/14714/head
Engincan VESKE 3 years ago
committed by GitHub
parent
commit
d99a0c8a98
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/Distributed-Locking.md
  2. 2
      docs/zh-Hans/Distributed-Locking.md

2
docs/en/Distributed-Locking.md

@ -109,10 +109,12 @@ namespace AbpDemo
**Example: Set the distributed lock key prefix for the application**
```csharp
Configure<AbpDistributedLockOptions>(options =>
{
options.KeyPrefix = "MyApp1";
});
```
> Write that code inside the `ConfigureServices` method of your [module class](Module-Development-Basics.md).

2
docs/zh-Hans/Distributed-Locking.md

@ -109,10 +109,12 @@ namespace AbpDemo
**示例: 设置应用程序的分布式锁Key前缀**
```csharp
Configure<AbpDistributedLockOptions>(options =>
{
options.KeyPrefix = "MyApp1";
});
```
> 在你的[模块类](Module-Development-Basics.md)中的 `ConfigureServices` 方法进行配置.

Loading…
Cancel
Save