From 8686e396fa25d881757b7ee0fbdcafed05c4c03a Mon Sep 17 00:00:00 2001 From: malik masis Date: Fri, 25 Mar 2022 09:49:51 +0300 Subject: [PATCH] Made code formatting --- docs/en/Distributed-Locking.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/en/Distributed-Locking.md b/docs/en/Distributed-Locking.md index e3c57abdbd..d57fd45c83 100644 --- a/docs/en/Distributed-Locking.md +++ b/docs/en/Distributed-Locking.md @@ -31,21 +31,21 @@ namespace AbpDemo typeof(AbpDistributedLockingModule) //If you have the other dependencies, you should do here )] - public class MyModule : AbpModule - { - public override void ConfigureServices(ServiceConfigurationContext context) - { - var configuration = context.Services.GetConfiguration(); - - context.Services.AddSingleton(sp => - { - var connection = ConnectionMultiplexer + public class MyModule : AbpModule + { + public override void ConfigureServices(ServiceConfigurationContext context) + { + var configuration = context.Services.GetConfiguration(); + + context.Services.AddSingleton(sp => + { + var connection = ConnectionMultiplexer .Connect(configuration["Redis:Configuration"]); - return new + return new RedisDistributedSynchronizationProvider(connection.GetDatabase()); - }); - } - } + }); + } + } } ````