Soenneker.Utils.ResettableLazy 2.1.270

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

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

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