Soenneker.Utils.ResettableLazy 2.1.183

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.ResettableLazy --version 2.1.183
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 2.1.183
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.ResettableLazy" Version="2.1.183" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.ResettableLazy --version 2.1.183
#r "nuget: Soenneker.Utils.ResettableLazy, 2.1.183"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Soenneker.Utils.ResettableLazy as a Cake Addin
#addin nuget:?package=Soenneker.Utils.ResettableLazy&version=2.1.183

// Install Soenneker.Utils.ResettableLazy as a Cake Tool
#tool nuget:?package=Soenneker.Utils.ResettableLazy&version=2.1.183

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.ResettableLazy

A thread-safe resettable lazy implementation

Installation

dotnet add package Soenneker.Utils.ResettableLazy

Usage

var _httpClientLazy = new ResettableLazy<HttpClient>(() => httpClientFactory.CreateClient("", true);

// HttpClient is created from the factory at this point
_httpClientLazy.Value.GetAsync("http://google.com");

// flushes the lazy's cache
_httpClientLazy.Reset();

// A new HttpClient is created from the factory again since Reset() was called
_httpClientLazy.Value.GetAsync("http://google.com");

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.193 31 4/28/2024
2.1.192 33 4/28/2024
2.1.191 34 4/28/2024
2.1.190 33 4/28/2024
2.1.189 32 4/28/2024
2.1.188 38 4/28/2024
2.1.187 35 4/27/2024
2.1.186 37 4/27/2024
2.1.185 80 4/19/2024
2.1.184 79 4/18/2024
2.1.183 75 4/12/2024
2.1.182 63 4/12/2024
2.1.181 66 4/12/2024
2.1.180 69 4/12/2024
2.1.179 72 4/12/2024
2.1.178 67 4/11/2024
2.1.177 62 4/10/2024
2.1.176 61 4/9/2024
2.1.175 85 4/2/2024
2.1.174 78 4/1/2024
2.1.173 74 3/29/2024
2.1.172 62 3/25/2024
2.1.171 68 3/25/2024
2.1.170 66 3/20/2024
2.1.169 82 3/19/2024
2.1.168 88 3/19/2024
2.1.167 79 3/18/2024
2.1.166 95 3/15/2024
2.1.165 85 3/13/2024
2.1.164 84 3/13/2024
2.1.163 88 3/13/2024
2.1.162 84 3/12/2024
2.1.161 91 3/12/2024
2.1.160 87 3/11/2024
2.1.159 87 3/11/2024
2.1.158 90 3/10/2024
2.1.157 89 3/8/2024
2.1.156 88 3/8/2024
2.1.155 80 3/8/2024
2.1.154 87 3/6/2024
2.1.153 79 3/4/2024
2.1.152 71 3/4/2024
2.1.151 83 3/3/2024
2.1.150 76 3/2/2024
2.1.149 73 3/2/2024
2.1.148 78 3/2/2024
2.1.147 69 3/2/2024
2.1.146 71 2/29/2024
2.1.145 69 2/29/2024
2.1.144 64 2/29/2024
2.1.143 72 2/26/2024
2.1.142 75 2/25/2024
2.1.141 76 2/25/2024
2.1.140 73 2/23/2024
2.1.139 71 2/22/2024
2.1.138 81 2/22/2024
2.1.137 85 2/22/2024
2.1.136 78 2/21/2024
2.1.135 77 2/21/2024
2.1.134 82 2/21/2024
2.1.133 87 2/21/2024
2.1.132 87 2/21/2024
2.1.131 82 2/20/2024
2.1.130 84 2/20/2024
2.1.129 79 2/20/2024
2.1.128 76 2/20/2024
2.1.127 75 2/19/2024
2.1.126 80 2/19/2024
2.1.125 87 2/17/2024
2.1.124 81 2/17/2024
2.1.123 86 2/16/2024
2.1.122 86 2/16/2024
2.1.121 78 2/16/2024
2.1.120 79 2/16/2024
2.1.119 78 2/16/2024
2.1.118 74 2/16/2024
2.1.117 90 2/14/2024
2.1.116 81 2/13/2024
2.1.115 88 2/13/2024
2.1.114 91 2/13/2024
2.1.113 83 2/13/2024
2.1.112 81 2/12/2024
2.1.111 83 2/11/2024
2.1.110 82 2/11/2024
2.1.109 93 2/11/2024
2.1.108 81 2/10/2024
2.1.107 81 2/9/2024
2.1.106 80 2/9/2024
2.1.105 83 2/9/2024
2.1.104 79 2/8/2024
2.1.103 81 2/8/2024
2.1.102 83 2/8/2024
2.1.101 85 2/8/2024
2.1.100 74 2/7/2024
2.1.99 70 2/7/2024
2.1.98 71 2/7/2024
2.1.97 77 2/7/2024
2.1.96 79 2/6/2024
2.1.95 81 2/6/2024
2.1.94 75 2/5/2024
2.1.93 75 2/4/2024
2.1.92 73 2/2/2024
2.1.91 73 1/31/2024
2.1.90 74 1/29/2024
2.1.89 69 1/29/2024
2.1.88 74 1/28/2024
2.1.87 76 1/28/2024
2.1.86 73 1/28/2024
2.1.85 76 1/28/2024
2.1.84 80 1/28/2024
2.1.83 70 1/28/2024
2.1.82 71 1/27/2024
2.1.81 70 1/27/2024
2.1.80 72 1/27/2024
2.1.79 74 1/27/2024
2.1.78 73 1/27/2024
2.1.77 74 1/26/2024
2.1.76 74 1/26/2024
2.1.75 73 1/26/2024
2.1.74 73 1/26/2024
2.1.73 77 1/26/2024
2.1.72 72 1/25/2024
2.1.71 74 1/25/2024
2.1.70 76 1/25/2024
2.1.69 81 1/19/2024
2.1.68 84 1/15/2024
2.1.67 76 1/15/2024
2.1.66 82 1/15/2024
2.1.65 84 1/15/2024
2.1.64 86 1/15/2024
2.1.63 88 1/14/2024
2.1.62 85 1/13/2024
2.1.61 77 1/12/2024
2.1.60 92 1/11/2024
2.1.59 90 1/7/2024
2.1.58 85 1/5/2024
2.1.57 91 1/5/2024
2.1.56 106 1/5/2024
2.1.55 92 1/1/2024
2.1.54 99 12/28/2023
2.1.53 99 12/28/2023
2.1.52 95 12/28/2023
2.1.51 93 12/27/2023
2.1.50 112 12/27/2023
2.1.49 91 12/27/2023
2.1.48 96 12/25/2023
2.1.47 93 12/25/2023
2.1.46 98 12/25/2023
2.1.45 88 12/25/2023
2.1.44 87 12/25/2023
2.1.43 92 12/24/2023
2.1.42 94 12/23/2023
2.1.41 94 12/23/2023
2.1.40 90 12/23/2023
2.1.39 80 12/23/2023
2.1.38 87 12/23/2023
2.1.37 92 12/19/2023
2.1.36 82 12/19/2023
2.1.35 106 12/10/2023
2.1.34 95 12/10/2023
2.1.33 95 12/9/2023
2.1.32 91 12/9/2023
2.1.31 100 12/9/2023
2.1.30 97 12/6/2023
2.1.29 110 12/5/2023
2.1.28 95 12/4/2023
2.1.27 104 12/4/2023
2.1.26 82 12/4/2023
2.1.25 121 11/23/2023
2.1.24 100 11/23/2023
2.1.23 93 11/23/2023
2.1.22 101 11/23/2023
2.1.21 95 11/20/2023
2.1.20 94 11/20/2023
2.1.19 86 11/19/2023
2.1.18 90 11/19/2023
2.1.17 90 11/19/2023
2.1.16 92 11/19/2023
2.1.15 89 11/19/2023
2.1.14 90 11/18/2023
2.1.13 96 11/18/2023
2.1.12 86 11/18/2023
2.1.11 88 11/17/2023
2.1.10 86 11/17/2023
2.1.9 86 11/17/2023
2.1.8 90 11/17/2023
2.1.7 88 11/17/2023
2.1.6 92 11/17/2023
2.1.5 99 11/17/2023
2.1.4 89 11/17/2023
2.1.3 85 11/16/2023
2.0.75 88 11/16/2023
2.0.74 84 11/16/2023
2.0.73 89 11/15/2023
2.0.2 84 11/16/2023
2.0.1 84 11/16/2023
1.0.72 80 11/15/2023
1.0.71 87 11/14/2023
1.0.70 83 11/13/2023
1.0.69 87 11/9/2023
1.0.68 80 11/9/2023
1.0.67 90 11/8/2023
1.0.66 85 11/7/2023
1.0.65 93 11/3/2023
1.0.64 95 11/2/2023
1.0.63 108 10/26/2023
1.0.62 105 10/19/2023
1.0.61 95 10/18/2023
1.0.60 105 10/16/2023
1.0.59 105 10/16/2023
1.0.58 94 10/12/2023
1.0.57 101 9/21/2023
1.0.56 102 9/20/2023
1.0.55 103 9/18/2023
1.0.54 87 9/18/2023
1.0.53 114 9/15/2023
1.0.52 115 8/31/2023
1.0.51 107 8/30/2023
1.0.50 110 8/30/2023
1.0.49 133 8/28/2023
1.0.48 115 8/25/2023
1.0.47 106 8/22/2023
1.0.46 123 8/18/2023
1.0.45 136 8/17/2023
1.0.44 144 8/11/2023
1.0.43 129 8/9/2023
1.0.42 128 8/8/2023
1.0.41 126 8/7/2023
1.0.40 135 7/14/2023
1.0.39 101 7/11/2023
1.0.38 129 7/10/2023
1.0.37 137 7/7/2023
1.0.36 129 7/3/2023
1.0.35 146 6/30/2023
1.0.34 146 6/28/2023
1.0.33 140 6/28/2023
1.0.32 124 6/27/2023
1.0.31 136 6/26/2023
1.0.30 132 6/22/2023
1.0.29 128 6/16/2023
1.0.28 139 6/15/2023
1.0.27 154 6/12/2023
1.0.26 128 6/9/2023
1.0.25 116 6/8/2023
1.0.24 117 6/7/2023
1.0.23 123 6/7/2023
1.0.22 137 6/6/2023
1.0.21 129 6/5/2023
1.0.20 134 6/2/2023
1.0.19 147 6/2/2023
1.0.18 117 6/1/2023
1.0.17 126 5/31/2023
1.0.16 130 5/31/2023
1.0.15 122 5/30/2023
1.0.14 110 5/29/2023
1.0.13 116 5/26/2023
1.0.12 133 5/25/2023
1.0.11 121 5/24/2023
1.0.10 119 5/24/2023
1.0.8 133 5/23/2023
1.0.7 127 5/22/2023
1.0.6 128 5/17/2023
1.0.5 176 4/11/2023
1.0.4 200 4/3/2023
1.0.3 167 4/3/2023
1.0.1 185 2/23/2023