Soenneker.Utils.ResettableLazy 3.0.413

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.413                
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 3.0.413                
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.413" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.ResettableLazy --version 3.0.413                
#r "nuget: Soenneker.Utils.ResettableLazy, 3.0.413"                
#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=3.0.413

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

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