Soenneker.Utils.ResettableLazy 2.1.87

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.87                
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 2.1.87                
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.87" />                
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.87                
#r "nuget: Soenneker.Utils.ResettableLazy, 2.1.87"                
#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.87

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

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