From ce61e6673e4f38f22b6ad2f611986cd6d089591a Mon Sep 17 00:00:00 2001 From: malik masis Date: Thu, 24 Mar 2022 17:36:03 +0300 Subject: [PATCH] Updated Distributed-Locking.md --- docs/en/Distributed-Locking.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/en/Distributed-Locking.md b/docs/en/Distributed-Locking.md index bea10645ca..4145a7fb1f 100644 --- a/docs/en/Distributed-Locking.md +++ b/docs/en/Distributed-Locking.md @@ -27,6 +27,10 @@ using Medallion.Threading.Redis; namespace AbpDemo { + [DependsOn( + typeof(AbpDistributedLockingModule) + //If you have the other dependencies, you should do here + )] public class MyModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) @@ -63,7 +67,7 @@ There are two ways to use the distributed locking API: ABP's `IAbpDistributedLoc **Example: Using the `IAbpDistributedLock.TryAcquireAsync` method** -````csharp + ````csharp using Volo.Abp.DistributedLocking; namespace AbpDemo