mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
425 B
20 lines
425 B
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Volo.Abp.DistributedLocking;
|
|
|
|
public class LocalAbpDistributedLockHandle : IAbpDistributedLockHandle
|
|
{
|
|
private readonly IDisposable _disposable;
|
|
|
|
public LocalAbpDistributedLockHandle(IDisposable disposable)
|
|
{
|
|
_disposable = disposable;
|
|
}
|
|
|
|
public ValueTask DisposeAsync()
|
|
{
|
|
_disposable.Dispose();
|
|
return default;
|
|
}
|
|
}
|
|
|