Soenneker.Utils.ResettableLazy 3.0.431

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 3.0.431
                    
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 3.0.431
                    
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="3.0.431" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.ResettableLazy" Version="3.0.431" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.ResettableLazy" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.ResettableLazy --version 3.0.431
                    
#r "nuget: Soenneker.Utils.ResettableLazy, 3.0.431"
                    
#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.
#:package Soenneker.Utils.ResettableLazy@3.0.431
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.ResettableLazy&version=3.0.431
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.ResettableLazy&version=3.0.431
                    
Install as a Cake Tool

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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • 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
3.0.434 151 9/3/2025
3.0.433 133 8/11/2025
3.0.432 144 7/3/2025
3.0.431 88 6/27/2025
3.0.430 159 5/27/2025
3.0.429 147 5/22/2025
3.0.428 165 5/7/2025
3.0.427 157 5/5/2025
3.0.426 155 5/5/2025
3.0.424 137 4/6/2025
3.0.423 118 3/1/2025
3.0.422 136 2/10/2025
3.0.421 121 2/7/2025
3.0.420 127 2/7/2025
3.0.419 120 1/20/2025
3.0.418 137 1/10/2025
3.0.417 130 1/10/2025
3.0.416 127 1/2/2025
3.0.415 135 12/31/2024
3.0.414 140 12/31/2024
3.0.413 139 12/31/2024
3.0.412 127 12/24/2024
3.0.411 126 12/19/2024
3.0.409 113 12/16/2024
3.0.408 128 12/9/2024
3.0.407 147 12/9/2024
3.0.406 119 12/9/2024
3.0.405 137 12/9/2024
3.0.404 119 12/6/2024
3.0.403 133 12/6/2024
3.0.402 123 12/6/2024
3.0.401 130 12/6/2024
3.0.400 126 12/6/2024
3.0.399 127 12/6/2024
3.0.398 130 12/6/2024
3.0.397 136 12/6/2024
3.0.396 123 12/5/2024
3.0.395 129 12/5/2024
3.0.394 127 12/5/2024
3.0.393 123 12/5/2024
3.0.392 129 12/4/2024
3.0.391 121 12/4/2024
3.0.390 121 12/4/2024
3.0.389 138 12/4/2024
3.0.388 135 12/3/2024
3.0.387 139 12/3/2024
3.0.386 120 12/3/2024
3.0.385 141 12/3/2024
3.0.384 128 12/3/2024
3.0.383 115 12/3/2024
3.0.382 119 12/3/2024
3.0.381 128 12/2/2024
3.0.380 137 12/2/2024
3.0.379 135 12/2/2024
3.0.378 121 12/1/2024
3.0.377 127 12/1/2024
3.0.376 140 12/1/2024
3.0.375 123 11/29/2024
3.0.374 124 11/20/2024
3.0.373 115 11/20/2024
3.0.372 119 11/20/2024
3.0.371 130 11/20/2024
3.0.370 130 11/20/2024
3.0.369 111 11/19/2024
3.0.368 116 11/19/2024
3.0.367 126 11/19/2024
3.0.366 122 11/19/2024
3.0.365 138 11/14/2024
3.0.364 132 11/14/2024
3.0.363 133 11/14/2024
3.0.362 119 11/14/2024
3.0.361 142 11/14/2024
3.0.360 122 11/14/2024
3.0.359 128 11/14/2024
2.1.358 123 11/13/2024
2.1.357 116 11/12/2024
2.1.356 130 11/12/2024
2.1.355 126 11/9/2024
2.1.354 127 11/9/2024
2.1.353 131 11/8/2024
2.1.352 123 11/8/2024
2.1.351 121 11/8/2024
2.1.350 129 11/8/2024
2.1.349 116 11/8/2024
2.1.348 136 11/1/2024
2.1.347 122 10/29/2024
2.1.346 124 10/29/2024
2.1.345 130 10/29/2024
2.1.344 122 10/26/2024
2.1.343 114 10/22/2024
2.1.342 103 10/22/2024
2.1.341 107 10/22/2024
2.1.340 117 10/17/2024
2.1.339 116 10/15/2024
2.1.338 127 10/14/2024
2.1.337 127 10/11/2024
2.1.336 134 10/11/2024
2.1.335 122 10/11/2024
2.1.334 144 10/9/2024
2.1.333 123 10/8/2024
2.1.332 133 10/8/2024
2.1.331 111 10/8/2024
2.1.330 120 10/3/2024
2.1.329 131 10/3/2024
2.1.328 125 10/2/2024
2.1.327 125 10/2/2024
2.1.326 140 10/1/2024
2.1.325 132 10/1/2024
2.1.324 144 9/30/2024
2.1.323 120 9/29/2024
2.1.322 154 9/29/2024
2.1.321 126 9/29/2024
2.1.320 129 9/27/2024
2.1.319 121 9/27/2024
2.1.318 134 9/27/2024
2.1.317 137 9/26/2024
2.1.316 154 9/26/2024
2.1.315 124 9/26/2024
2.1.314 151 9/23/2024
2.1.313 133 9/23/2024
2.1.312 133 9/23/2024
2.1.311 139 9/23/2024
2.1.310 131 9/23/2024
2.1.309 138 9/23/2024
2.1.308 128 9/17/2024
2.1.307 133 9/17/2024
2.1.306 135 9/17/2024
2.1.305 132 9/17/2024
2.1.304 124 9/17/2024
2.1.303 122 9/17/2024
2.1.302 124 9/16/2024
2.1.301 137 9/12/2024
2.1.298 157 9/11/2024
2.1.297 158 9/10/2024
2.1.296 141 9/10/2024
2.1.295 142 9/10/2024
2.1.294 156 9/9/2024
2.1.293 153 9/9/2024
2.1.291 152 9/9/2024
2.1.290 140 9/9/2024
2.1.289 162 9/7/2024
2.1.288 150 9/6/2024
2.1.287 147 9/5/2024
2.1.286 144 9/5/2024
2.1.285 150 9/5/2024
2.1.284 137 9/5/2024
2.1.283 145 9/5/2024
2.1.282 150 9/5/2024
2.1.281 151 9/4/2024
2.1.280 138 9/3/2024
2.1.279 136 9/3/2024
2.1.278 144 9/3/2024
2.1.277 140 9/3/2024
2.1.276 126 8/29/2024
2.1.275 152 8/26/2024
2.1.274 154 8/21/2024
2.1.273 149 8/21/2024
2.1.272 169 8/20/2024
2.1.271 145 8/20/2024
2.1.270 150 8/20/2024
2.1.269 154 8/19/2024
2.1.268 162 8/15/2024
2.1.267 149 8/13/2024
2.1.266 118 8/6/2024
2.1.265 138 8/1/2024
2.1.264 127 8/1/2024
2.1.263 131 8/1/2024
2.1.262 97 7/25/2024
2.1.261 108 7/25/2024
2.1.260 116 7/25/2024
2.1.259 106 7/24/2024
2.1.258 96 7/24/2024
2.1.257 132 7/20/2024
2.1.256 130 7/14/2024
2.1.255 126 7/14/2024
2.1.254 134 7/14/2024
2.1.252 137 7/10/2024
2.1.251 137 7/10/2024
2.1.250 120 7/10/2024
2.1.249 111 7/10/2024
2.1.248 144 7/10/2024
2.1.247 136 7/10/2024
2.1.246 131 7/10/2024
2.1.245 132 7/9/2024
2.1.244 115 7/9/2024
2.1.243 112 7/9/2024
2.1.242 129 7/9/2024
2.1.241 140 7/9/2024
2.1.240 138 7/9/2024
2.1.239 145 7/9/2024
2.1.238 158 7/9/2024
2.1.237 140 7/8/2024
2.1.236 128 7/8/2024
2.1.235 146 7/8/2024
2.1.234 146 7/7/2024
2.1.233 134 7/7/2024
2.1.232 153 7/7/2024
2.1.231 130 7/3/2024
2.1.230 137 7/3/2024
2.1.229 149 6/22/2024
2.1.228 147 6/15/2024
2.1.227 154 6/15/2024
2.1.226 140 6/14/2024
2.1.225 147 6/1/2024
2.1.224 155 6/1/2024
2.1.223 152 6/1/2024
2.1.222 153 5/31/2024
2.1.221 139 5/29/2024
2.1.220 137 5/28/2024
2.1.219 148 5/27/2024
2.1.218 147 5/26/2024
2.1.217 163 5/26/2024
2.1.216 165 5/26/2024
2.1.215 156 5/25/2024
2.1.214 152 5/25/2024
2.1.213 134 5/25/2024
2.1.212 151 5/25/2024
2.1.211 148 5/25/2024
2.1.210 143 5/23/2024
2.1.209 145 5/23/2024
2.1.208 162 5/23/2024
2.1.207 134 5/23/2024
2.1.206 143 5/22/2024
2.1.205 145 5/22/2024
2.1.204 158 5/22/2024
2.1.203 149 5/18/2024
2.1.202 155 5/17/2024
2.1.201 159 5/17/2024
2.1.200 142 5/16/2024
2.1.199 140 5/16/2024
2.1.198 159 5/15/2024
2.1.197 156 5/15/2024
2.1.196 138 5/13/2024
2.1.195 166 4/29/2024
2.1.194 149 4/29/2024
2.1.193 160 4/28/2024
2.1.192 123 4/28/2024
2.1.191 147 4/28/2024
2.1.190 146 4/28/2024
2.1.189 145 4/28/2024
2.1.188 146 4/28/2024
2.1.187 151 4/27/2024
2.1.186 140 4/27/2024
2.1.185 146 4/19/2024
2.1.184 153 4/18/2024
2.1.183 146 4/12/2024
2.1.182 141 4/12/2024
2.1.181 136 4/12/2024
2.1.180 137 4/12/2024
2.1.179 142 4/12/2024
2.1.178 133 4/11/2024
2.1.177 140 4/10/2024
2.1.176 133 4/9/2024
2.1.175 154 4/2/2024
2.1.174 153 4/1/2024
2.1.173 143 3/29/2024
2.1.172 127 3/25/2024
2.1.171 122 3/25/2024
2.1.170 142 3/20/2024
2.1.169 150 3/19/2024
2.1.168 167 3/19/2024
2.1.167 157 3/18/2024
2.1.166 169 3/15/2024
2.1.165 154 3/13/2024
2.1.164 163 3/13/2024
2.1.163 154 3/13/2024
2.1.162 160 3/12/2024
2.1.161 156 3/12/2024
2.1.160 164 3/11/2024
2.1.159 163 3/11/2024
2.1.158 171 3/10/2024
2.1.157 151 3/8/2024
2.1.156 172 3/8/2024
2.1.155 158 3/8/2024
2.1.154 152 3/6/2024
2.1.153 154 3/4/2024
2.1.152 153 3/4/2024
2.1.151 159 3/3/2024
2.1.150 159 3/2/2024
2.1.149 145 3/2/2024
2.1.148 155 3/2/2024
2.1.147 151 3/2/2024
2.1.146 156 2/29/2024
2.1.145 129 2/29/2024
2.1.144 138 2/29/2024
2.1.143 154 2/26/2024
2.1.142 151 2/25/2024
2.1.141 157 2/25/2024
2.1.140 144 2/23/2024
2.1.139 141 2/22/2024
2.1.138 136 2/22/2024
2.1.137 157 2/22/2024
2.1.136 149 2/21/2024
2.1.135 151 2/21/2024
2.1.134 169 2/21/2024
2.1.133 162 2/21/2024
2.1.132 151 2/21/2024
2.1.131 155 2/20/2024
2.1.130 164 2/20/2024
2.1.129 160 2/20/2024
2.1.128 150 2/20/2024
2.1.127 155 2/19/2024
2.1.126 155 2/19/2024
2.1.125 165 2/17/2024
2.1.124 171 2/17/2024
2.1.123 178 2/16/2024
2.1.122 160 2/16/2024
2.1.121 162 2/16/2024
2.1.120 154 2/16/2024
2.1.119 159 2/16/2024
2.1.118 168 2/16/2024
2.1.117 178 2/14/2024
2.1.116 159 2/13/2024
2.1.115 169 2/13/2024
2.1.114 175 2/13/2024
2.1.113 163 2/13/2024
2.1.112 158 2/12/2024
2.1.111 183 2/11/2024
2.1.110 165 2/11/2024
2.1.109 165 2/11/2024
2.1.108 164 2/10/2024
2.1.107 162 2/9/2024
2.1.106 159 2/9/2024
2.1.105 157 2/9/2024
2.1.104 155 2/8/2024
2.1.103 164 2/8/2024
2.1.102 155 2/8/2024
2.1.101 159 2/8/2024
2.1.100 162 2/7/2024
2.1.99 152 2/7/2024
2.1.98 152 2/7/2024
2.1.97 169 2/7/2024
2.1.96 165 2/6/2024
2.1.95 158 2/6/2024
2.1.94 141 2/5/2024
2.1.93 161 2/4/2024
2.1.92 144 2/2/2024
2.1.91 151 1/31/2024
2.1.90 140 1/29/2024
2.1.89 148 1/29/2024
2.1.88 140 1/28/2024
2.1.87 142 1/28/2024
2.1.86 144 1/28/2024
2.1.85 134 1/28/2024
2.1.84 154 1/28/2024
2.1.83 145 1/28/2024
2.1.82 134 1/27/2024
2.1.81 143 1/27/2024
2.1.80 143 1/27/2024
2.1.79 148 1/27/2024
2.1.78 151 1/27/2024
2.1.77 142 1/26/2024
2.1.76 141 1/26/2024
2.1.75 145 1/26/2024
2.1.74 150 1/26/2024
2.1.73 143 1/26/2024
2.1.72 150 1/25/2024
2.1.71 127 1/25/2024
2.1.70 155 1/25/2024
2.1.69 152 1/19/2024
2.1.68 158 1/15/2024
2.1.67 148 1/15/2024
2.1.66 154 1/15/2024
2.1.65 149 1/15/2024
2.1.64 158 1/15/2024
2.1.63 151 1/14/2024
2.1.62 148 1/13/2024
2.1.61 143 1/12/2024
2.1.60 167 1/11/2024
2.1.59 166 1/7/2024
2.1.58 155 1/5/2024
2.1.57 166 1/5/2024
2.1.56 169 1/5/2024
2.1.55 173 1/1/2024
2.1.54 169 12/28/2023
2.1.53 166 12/28/2023
2.1.52 163 12/28/2023
2.1.51 169 12/27/2023
2.1.50 189 12/27/2023
2.1.49 149 12/27/2023
2.1.48 171 12/25/2023
2.1.47 166 12/25/2023
2.1.46 163 12/25/2023
2.1.45 166 12/25/2023
2.1.44 163 12/25/2023
2.1.43 170 12/24/2023
2.1.42 162 12/23/2023
2.1.41 155 12/23/2023
2.1.40 164 12/23/2023
2.1.39 154 12/23/2023
2.1.38 148 12/23/2023
2.1.37 157 12/19/2023
2.1.36 152 12/19/2023
2.1.35 183 12/10/2023
2.1.34 168 12/10/2023
2.1.33 167 12/9/2023
2.1.32 149 12/9/2023
2.1.31 174 12/9/2023
2.1.30 147 12/6/2023
2.1.29 167 12/5/2023
2.1.28 158 12/4/2023
2.1.27 156 12/4/2023
2.1.26 141 12/4/2023
2.1.25 181 11/23/2023
2.1.24 151 11/23/2023
2.1.23 133 11/23/2023
2.1.22 153 11/23/2023
2.1.21 147 11/20/2023
2.1.20 140 11/20/2023
2.1.19 142 11/19/2023
2.1.18 139 11/19/2023
2.1.17 130 11/19/2023
2.1.16 153 11/19/2023
2.1.15 150 11/19/2023
2.1.14 144 11/18/2023
2.1.13 159 11/18/2023
2.1.12 145 11/18/2023
2.1.11 143 11/17/2023
2.1.10 136 11/17/2023
2.1.9 125 11/17/2023
2.1.8 146 11/17/2023
2.1.7 139 11/17/2023
2.1.6 144 11/17/2023
2.1.5 155 11/17/2023
2.1.4 143 11/17/2023
2.1.3 135 11/16/2023
2.0.75 142 11/16/2023
2.0.74 144 11/16/2023
2.0.73 142 11/15/2023
2.0.2 133 11/16/2023
2.0.1 140 11/16/2023
1.0.72 136 11/15/2023
1.0.71 126 11/14/2023
1.0.70 138 11/13/2023
1.0.69 143 11/9/2023
1.0.68 137 11/9/2023
1.0.67 147 11/8/2023
1.0.66 149 11/7/2023
1.0.65 131 11/3/2023
1.0.64 148 11/2/2023
1.0.63 165 10/26/2023
1.0.62 180 10/19/2023
1.0.61 159 10/18/2023
1.0.60 169 10/16/2023
1.0.59 165 10/16/2023
1.0.58 174 10/12/2023
1.0.57 165 9/21/2023
1.0.56 166 9/20/2023
1.0.55 165 9/18/2023
1.0.54 153 9/18/2023
1.0.53 158 9/15/2023
1.0.52 186 8/31/2023
1.0.51 189 8/30/2023
1.0.50 181 8/30/2023
1.0.49 203 8/28/2023
1.0.48 191 8/25/2023
1.0.47 190 8/22/2023
1.0.46 189 8/18/2023
1.0.45 211 8/17/2023
1.0.44 216 8/11/2023
1.0.43 203 8/9/2023
1.0.42 215 8/8/2023
1.0.41 198 8/7/2023
1.0.40 215 7/14/2023
1.0.39 194 7/11/2023
1.0.38 209 7/10/2023
1.0.37 222 7/7/2023
1.0.36 210 7/3/2023
1.0.35 232 6/30/2023
1.0.34 223 6/28/2023
1.0.33 213 6/28/2023
1.0.32 211 6/27/2023
1.0.31 222 6/26/2023
1.0.30 214 6/22/2023
1.0.29 209 6/16/2023
1.0.28 223 6/15/2023
1.0.27 240 6/12/2023
1.0.26 223 6/9/2023
1.0.25 211 6/8/2023
1.0.24 206 6/7/2023
1.0.23 220 6/7/2023
1.0.22 220 6/6/2023
1.0.21 216 6/5/2023
1.0.20 223 6/2/2023
1.0.19 235 6/2/2023
1.0.18 206 6/1/2023
1.0.17 211 5/31/2023
1.0.16 213 5/31/2023
1.0.15 209 5/30/2023
1.0.14 197 5/29/2023
1.0.13 200 5/26/2023
1.0.12 229 5/25/2023
1.0.11 206 5/24/2023
1.0.10 204 5/24/2023
1.0.8 220 5/23/2023
1.0.7 217 5/22/2023
1.0.6 220 5/17/2023
1.0.5 271 4/11/2023
1.0.4 294 4/3/2023
1.0.3 264 4/3/2023
1.0.1 277 2/23/2023