LockerHelpers 2.0.6
See the version list below for details.
dotnet add package LockerHelpers --version 2.0.6
NuGet\Install-Package LockerHelpers -Version 2.0.6
<PackageReference Include="LockerHelpers" Version="2.0.6" />
paket add LockerHelpers --version 2.0.6
#r "nuget: LockerHelpers, 2.0.6"
// Install LockerHelpers as a Cake Addin
#addin nuget:?package=LockerHelpers&version=2.0.6
// Install LockerHelpers as a Cake Tool
#tool nuget:?package=LockerHelpers&version=2.0.6
Locker Helpers
Provides helpers for execution locking mechanism. Can be used for heavy multi threading operations.
NuGets
Name | Info |
---|---|
LockerHelpers |
Installation
// Install release version
Install-Package LockerHelpers
// Install pre-release version
Install-Package LockerHelpers -pre
Supported frameworks
.NET Standard 2.0 and above - see https://github.com/dotnet/standard/blob/master/docs/versions.md for compatibility matrix
Usage
RWLock Sample
using LockerHelpers;
namespace YourNamespace
{
public class SafeList<T>
{
private List<T> list = new List<T>;
private RWLock rwLock = new RWLock();
public int Count
{
get
{
return rwLock.LockRead(() => list.Count);
}
}
public void SafeAdd(T value)
{
rwLock.LockWrite(() => list.Add(value));
}
public void SafeRemove(T value)
{
rwLock.LockWrite(() => list.Remove(value));
}
}
}
Want To Support This Project?
All I have ever asked is to be active by submitting bugs, features, and sending those pull requests down!.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- DisposableHelpers (>= 1.2.0)
-
net6.0
- DisposableHelpers (>= 1.2.0)
-
net7.0
- DisposableHelpers (>= 1.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LockerHelpers:
Package | Downloads |
---|---|
ObservableHelpers
Observable helpers with short-and-easy and UI-safe property implementations. Can be used for any MVVM software architectural applications. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.12 | 26 | 7/2/2024 |
2.0.11 | 20 | 7/2/2024 |
2.0.10 | 22 | 7/1/2024 |
2.0.9 | 22 | 7/1/2024 |
2.0.8 | 22 | 6/30/2024 |
2.0.6 | 31 | 6/28/2024 |
2.0.5 | 142 | 10/4/2023 |
2.0.4 | 163 | 8/31/2023 |
2.0.3 | 154 | 8/29/2023 |
2.0.2 | 158 | 8/8/2023 |
2.0.1 | 150 | 7/11/2023 |
2.0.0 | 178 | 6/20/2023 |
1.0.6 | 671 | 9/8/2022 |
1.0.5 | 404 | 9/4/2022 |
1.0.4 | 402 | 9/4/2022 |
1.0.3 | 2,594 | 9/4/2022 |
1.0.2 | 2,624 | 3/7/2022 |
1.0.1 | 2,833 | 2/21/2022 |
1.0.0 | 666 | 2/19/2022 |
## What's Changed
* Bump DisposableHelpers from 1.1.16 to 1.2.0 by @dependabot in https://github.com/Kiryuumaru/LockerHelpers/pull/5
* Updated CICD by @Kiryuumaru in https://github.com/Kiryuumaru/LockerHelpers/pull/6
## New Contributors
* @Kiryuumaru made their first contribution in https://github.com/Kiryuumaru/LockerHelpers/pull/6
**Full Changelog**: https://github.com/Kiryuumaru/LockerHelpers/compare/build.6...build.7