Soenneker.Utils.ResettableLazy 3.0.418

Prefix Reserved
dotnet add package Soenneker.Utils.ResettableLazy --version 3.0.418                
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 3.0.418                
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.418" />                
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.418                
#r "nuget: Soenneker.Utils.ResettableLazy, 3.0.418"                
#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.418

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

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.418 36 1/10/2025
3.0.417 33 1/10/2025
3.0.416 82 1/2/2025
3.0.415 95 12/31/2024
3.0.414 99 12/31/2024
3.0.413 90 12/31/2024
3.0.412 81 12/24/2024
3.0.411 87 12/19/2024
3.0.409 76 12/16/2024
3.0.408 83 12/9/2024
3.0.407 89 12/9/2024
3.0.406 83 12/9/2024
3.0.405 94 12/9/2024
3.0.404 83 12/6/2024
3.0.403 87 12/6/2024
3.0.402 87 12/6/2024
3.0.401 93 12/6/2024
3.0.400 82 12/6/2024
3.0.399 79 12/6/2024
3.0.398 90 12/6/2024
3.0.397 92 12/6/2024
3.0.396 85 12/5/2024
3.0.395 82 12/5/2024
3.0.394 86 12/5/2024
3.0.393 87 12/5/2024
3.0.392 88 12/4/2024
3.0.391 85 12/4/2024
3.0.390 83 12/4/2024
3.0.389 85 12/4/2024
3.0.388 93 12/3/2024
3.0.387 91 12/3/2024
3.0.386 88 12/3/2024
3.0.385 94 12/3/2024
3.0.384 83 12/3/2024
3.0.383 81 12/3/2024
3.0.382 81 12/3/2024
3.0.381 92 12/2/2024
3.0.380 91 12/2/2024
3.0.379 92 12/2/2024
3.0.378 82 12/1/2024
3.0.377 89 12/1/2024
3.0.376 93 12/1/2024
3.0.375 79 11/29/2024
3.0.374 84 11/20/2024
3.0.373 81 11/20/2024
3.0.372 85 11/20/2024
3.0.371 91 11/20/2024
3.0.370 84 11/20/2024
3.0.369 74 11/19/2024
3.0.368 79 11/19/2024
3.0.367 80 11/19/2024
3.0.366 81 11/19/2024
3.0.365 90 11/14/2024
3.0.364 87 11/14/2024
3.0.363 88 11/14/2024
3.0.362 88 11/14/2024
3.0.361 98 11/14/2024
3.0.360 87 11/14/2024
3.0.359 91 11/14/2024
2.1.358 88 11/13/2024
2.1.357 83 11/12/2024
2.1.356 84 11/12/2024
2.1.355 92 11/9/2024
2.1.354 91 11/9/2024
2.1.353 87 11/8/2024
2.1.352 84 11/8/2024
2.1.351 84 11/8/2024
2.1.350 89 11/8/2024
2.1.349 84 11/8/2024
2.1.348 92 11/1/2024
2.1.347 87 10/29/2024
2.1.346 82 10/29/2024
2.1.345 88 10/29/2024
2.1.344 88 10/26/2024
2.1.343 81 10/22/2024
2.1.342 69 10/22/2024
2.1.341 72 10/22/2024
2.1.340 84 10/17/2024
2.1.339 80 10/15/2024
2.1.338 85 10/14/2024
2.1.337 85 10/11/2024
2.1.336 91 10/11/2024
2.1.335 91 10/11/2024
2.1.334 101 10/9/2024
2.1.333 89 10/8/2024
2.1.332 93 10/8/2024
2.1.331 78 10/8/2024
2.1.330 88 10/3/2024
2.1.329 89 10/3/2024
2.1.328 95 10/2/2024
2.1.327 92 10/2/2024
2.1.326 106 10/1/2024
2.1.325 96 10/1/2024
2.1.324 97 9/30/2024
2.1.323 88 9/29/2024
2.1.322 122 9/29/2024
2.1.321 93 9/29/2024
2.1.320 90 9/27/2024
2.1.319 88 9/27/2024
2.1.318 93 9/27/2024
2.1.317 94 9/26/2024
2.1.316 124 9/26/2024
2.1.315 92 9/26/2024
2.1.314 97 9/23/2024
2.1.313 100 9/23/2024
2.1.312 94 9/23/2024
2.1.311 107 9/23/2024
2.1.310 93 9/23/2024
2.1.309 107 9/23/2024
2.1.308 98 9/17/2024
2.1.307 101 9/17/2024
2.1.306 95 9/17/2024
2.1.305 92 9/17/2024
2.1.304 95 9/17/2024
2.1.303 91 9/17/2024
2.1.302 96 9/16/2024
2.1.301 106 9/12/2024
2.1.298 113 9/11/2024
2.1.297 116 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 118 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 113 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 118 8/21/2024
2.1.272 130 8/20/2024
2.1.271 118 8/20/2024
2.1.270 113 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 101 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 102 7/14/2024
2.1.255 98 7/14/2024
2.1.254 98 7/14/2024
2.1.252 97 7/10/2024
2.1.251 107 7/10/2024
2.1.250 92 7/10/2024
2.1.249 81 7/10/2024
2.1.248 112 7/10/2024
2.1.247 97 7/10/2024
2.1.246 101 7/10/2024
2.1.245 100 7/9/2024
2.1.244 85 7/9/2024
2.1.243 84 7/9/2024
2.1.242 93 7/9/2024
2.1.241 99 7/9/2024
2.1.240 101 7/9/2024
2.1.239 116 7/9/2024
2.1.238 118 7/9/2024
2.1.237 110 7/8/2024
2.1.236 89 7/8/2024
2.1.235 106 7/8/2024
2.1.234 115 7/7/2024
2.1.233 102 7/7/2024
2.1.232 115 7/7/2024
2.1.231 96 7/3/2024
2.1.230 105 7/3/2024
2.1.229 117 6/22/2024
2.1.228 118 6/15/2024
2.1.227 112 6/15/2024
2.1.226 111 6/14/2024
2.1.225 119 6/1/2024
2.1.224 123 6/1/2024
2.1.223 123 6/1/2024
2.1.222 122 5/31/2024
2.1.221 110 5/29/2024
2.1.220 108 5/28/2024
2.1.219 108 5/27/2024
2.1.218 112 5/26/2024
2.1.217 122 5/26/2024
2.1.216 125 5/26/2024
2.1.215 117 5/25/2024
2.1.214 121 5/25/2024
2.1.213 106 5/25/2024
2.1.212 121 5/25/2024
2.1.211 119 5/25/2024
2.1.210 112 5/23/2024
2.1.209 116 5/23/2024
2.1.208 118 5/23/2024
2.1.207 102 5/23/2024
2.1.206 115 5/22/2024
2.1.205 119 5/22/2024
2.1.204 119 5/22/2024
2.1.203 115 5/18/2024
2.1.202 127 5/17/2024
2.1.201 121 5/17/2024
2.1.200 114 5/16/2024
2.1.199 112 5/16/2024
2.1.198 119 5/15/2024
2.1.197 117 5/15/2024
2.1.196 108 5/13/2024
2.1.195 130 4/29/2024
2.1.194 120 4/29/2024
2.1.193 119 4/28/2024
2.1.192 95 4/28/2024
2.1.191 112 4/28/2024
2.1.190 118 4/28/2024
2.1.189 118 4/28/2024
2.1.188 112 4/28/2024
2.1.187 112 4/27/2024
2.1.186 110 4/27/2024
2.1.185 120 4/19/2024
2.1.184 126 4/18/2024
2.1.183 107 4/12/2024
2.1.182 106 4/12/2024
2.1.181 109 4/12/2024
2.1.180 107 4/12/2024
2.1.179 115 4/12/2024
2.1.178 104 4/11/2024
2.1.177 102 4/10/2024
2.1.176 105 4/9/2024
2.1.175 125 4/2/2024
2.1.174 124 4/1/2024
2.1.173 112 3/29/2024
2.1.172 89 3/25/2024
2.1.171 90 3/25/2024
2.1.170 109 3/20/2024
2.1.169 119 3/19/2024
2.1.168 126 3/19/2024
2.1.167 118 3/18/2024
2.1.166 137 3/15/2024
2.1.165 113 3/13/2024
2.1.164 130 3/13/2024
2.1.163 118 3/13/2024
2.1.162 128 3/12/2024
2.1.161 120 3/12/2024
2.1.160 129 3/11/2024
2.1.159 137 3/11/2024
2.1.158 132 3/10/2024
2.1.157 115 3/8/2024
2.1.156 129 3/8/2024
2.1.155 122 3/8/2024
2.1.154 123 3/6/2024
2.1.153 121 3/4/2024
2.1.152 121 3/4/2024
2.1.151 126 3/3/2024
2.1.150 120 3/2/2024
2.1.149 116 3/2/2024
2.1.148 122 3/2/2024
2.1.147 110 3/2/2024
2.1.146 112 2/29/2024
2.1.145 97 2/29/2024
2.1.144 105 2/29/2024
2.1.143 114 2/26/2024
2.1.142 118 2/25/2024
2.1.141 119 2/25/2024
2.1.140 116 2/23/2024
2.1.139 109 2/22/2024
2.1.138 105 2/22/2024
2.1.137 123 2/22/2024
2.1.136 116 2/21/2024
2.1.135 113 2/21/2024
2.1.134 124 2/21/2024
2.1.133 123 2/21/2024
2.1.132 113 2/21/2024
2.1.131 123 2/20/2024
2.1.130 126 2/20/2024
2.1.129 116 2/20/2024
2.1.128 111 2/20/2024
2.1.127 120 2/19/2024
2.1.126 121 2/19/2024
2.1.125 132 2/17/2024
2.1.124 125 2/17/2024
2.1.123 132 2/16/2024
2.1.122 134 2/16/2024
2.1.121 123 2/16/2024
2.1.120 123 2/16/2024
2.1.119 126 2/16/2024
2.1.118 132 2/16/2024
2.1.117 137 2/14/2024
2.1.116 130 2/13/2024
2.1.115 135 2/13/2024
2.1.114 137 2/13/2024
2.1.113 126 2/13/2024
2.1.112 130 2/12/2024
2.1.111 142 2/11/2024
2.1.110 127 2/11/2024
2.1.109 139 2/11/2024
2.1.108 124 2/10/2024
2.1.107 127 2/9/2024
2.1.106 121 2/9/2024
2.1.105 130 2/9/2024
2.1.104 126 2/8/2024
2.1.103 131 2/8/2024
2.1.102 128 2/8/2024
2.1.101 130 2/8/2024
2.1.100 127 2/7/2024
2.1.99 116 2/7/2024
2.1.98 115 2/7/2024
2.1.97 118 2/7/2024
2.1.96 123 2/6/2024
2.1.95 121 2/6/2024
2.1.94 114 2/5/2024
2.1.93 120 2/4/2024
2.1.92 116 2/2/2024
2.1.91 112 1/31/2024
2.1.90 112 1/29/2024
2.1.89 107 1/29/2024
2.1.88 112 1/28/2024
2.1.87 113 1/28/2024
2.1.86 111 1/28/2024
2.1.85 99 1/28/2024
2.1.84 117 1/28/2024
2.1.83 109 1/28/2024
2.1.82 103 1/27/2024
2.1.81 110 1/27/2024
2.1.80 110 1/27/2024
2.1.79 113 1/27/2024
2.1.78 114 1/27/2024
2.1.77 111 1/26/2024
2.1.76 113 1/26/2024
2.1.75 111 1/26/2024
2.1.74 113 1/26/2024
2.1.73 114 1/26/2024
2.1.72 113 1/25/2024
2.1.71 97 1/25/2024
2.1.70 114 1/25/2024
2.1.69 119 1/19/2024
2.1.68 125 1/15/2024
2.1.67 111 1/15/2024
2.1.66 117 1/15/2024
2.1.65 121 1/15/2024
2.1.64 125 1/15/2024
2.1.63 123 1/14/2024
2.1.62 121 1/13/2024
2.1.61 112 1/12/2024
2.1.60 128 1/11/2024
2.1.59 128 1/7/2024
2.1.58 126 1/5/2024
2.1.57 126 1/5/2024
2.1.56 140 1/5/2024
2.1.55 133 1/1/2024
2.1.54 134 12/28/2023
2.1.53 133 12/28/2023
2.1.52 130 12/28/2023
2.1.51 131 12/27/2023
2.1.50 150 12/27/2023
2.1.49 113 12/27/2023
2.1.48 135 12/25/2023
2.1.47 129 12/25/2023
2.1.46 136 12/25/2023
2.1.45 127 12/25/2023
2.1.44 125 12/25/2023
2.1.43 127 12/24/2023
2.1.42 126 12/23/2023
2.1.41 128 12/23/2023
2.1.40 124 12/23/2023
2.1.39 117 12/23/2023
2.1.38 117 12/23/2023
2.1.37 129 12/19/2023
2.1.36 117 12/19/2023
2.1.35 141 12/10/2023
2.1.34 131 12/10/2023
2.1.33 130 12/9/2023
2.1.32 124 12/9/2023
2.1.31 137 12/9/2023
2.1.30 133 12/6/2023
2.1.29 146 12/5/2023
2.1.28 132 12/4/2023
2.1.27 138 12/4/2023
2.1.26 116 12/4/2023
2.1.25 159 11/23/2023
2.1.24 135 11/23/2023
2.1.23 116 11/23/2023
2.1.22 138 11/23/2023
2.1.21 134 11/20/2023
2.1.20 114 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 125 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 126 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 123 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 119 11/9/2023
1.0.67 129 11/8/2023
1.0.66 125 11/7/2023
1.0.65 115 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 146 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 124 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 165 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 222 2/23/2023