Soenneker.Utils.ResettableLazy 3.0.424

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