Soenneker.Utils.ResettableLazy 2.1.5

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

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

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

Install-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
2.1.355 37 11/9/2024
2.1.354 35 11/9/2024
2.1.353 29 11/8/2024
2.1.352 29 11/8/2024
2.1.351 31 11/8/2024
2.1.350 33 11/8/2024
2.1.349 28 11/8/2024
2.1.348 69 11/1/2024
2.1.347 67 10/29/2024
2.1.346 63 10/29/2024
2.1.345 67 10/29/2024
2.1.344 68 10/26/2024
2.1.343 61 10/22/2024
2.1.342 52 10/22/2024
2.1.341 52 10/22/2024
2.1.340 69 10/17/2024
2.1.339 67 10/15/2024
2.1.338 70 10/14/2024
2.1.337 72 10/11/2024
2.1.336 74 10/11/2024
2.1.335 76 10/11/2024
2.1.334 80 10/9/2024
2.1.333 71 10/8/2024
2.1.332 77 10/8/2024
2.1.331 64 10/8/2024
2.1.330 73 10/3/2024
2.1.329 77 10/3/2024
2.1.328 80 10/2/2024
2.1.327 80 10/2/2024
2.1.326 92 10/1/2024
2.1.325 79 10/1/2024
2.1.324 80 9/30/2024
2.1.323 71 9/29/2024
2.1.322 105 9/29/2024
2.1.321 81 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 106 9/26/2024
2.1.315 78 9/26/2024
2.1.314 85 9/23/2024
2.1.313 86 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 83 9/17/2024
2.1.307 89 9/17/2024
2.1.306 80 9/17/2024
2.1.305 73 9/17/2024
2.1.304 81 9/17/2024
2.1.303 77 9/17/2024
2.1.302 83 9/16/2024
2.1.301 94 9/12/2024
2.1.298 96 9/11/2024
2.1.297 105 9/10/2024
2.1.296 88 9/10/2024
2.1.295 100 9/10/2024
2.1.294 107 9/9/2024
2.1.293 100 9/9/2024
2.1.291 105 9/9/2024
2.1.290 98 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 102 9/5/2024
2.1.282 106 9/5/2024
2.1.281 101 9/4/2024
2.1.280 92 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 106 8/13/2024
2.1.266 70 8/6/2024
2.1.265 88 8/1/2024
2.1.264 82 8/1/2024
2.1.263 87 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 114 5/17/2024
2.1.201 110 5/17/2024
2.1.200 100 5/16/2024
2.1.199 101 5/16/2024
2.1.198 109 5/15/2024
2.1.197 103 5/15/2024
2.1.196 94 5/13/2024
2.1.195 119 4/29/2024
2.1.194 110 4/29/2024
2.1.193 103 4/28/2024
2.1.192 84 4/28/2024
2.1.191 98 4/28/2024
2.1.190 105 4/28/2024
2.1.189 105 4/28/2024
2.1.188 101 4/28/2024
2.1.187 101 4/27/2024
2.1.186 99 4/27/2024
2.1.185 109 4/19/2024
2.1.184 111 4/18/2024
2.1.183 93 4/12/2024
2.1.182 94 4/12/2024
2.1.181 99 4/12/2024
2.1.180 97 4/12/2024
2.1.179 102 4/12/2024
2.1.178 94 4/11/2024
2.1.177 93 4/10/2024
2.1.176 94 4/9/2024
2.1.175 114 4/2/2024
2.1.174 110 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 97 3/20/2024
2.1.169 109 3/19/2024
2.1.168 115 3/19/2024
2.1.167 106 3/18/2024
2.1.166 124 3/15/2024
2.1.165 101 3/13/2024
2.1.164 116 3/13/2024
2.1.163 106 3/13/2024
2.1.162 116 3/12/2024
2.1.161 108 3/12/2024
2.1.160 118 3/11/2024
2.1.159 121 3/11/2024
2.1.158 123 3/10/2024
2.1.157 106 3/8/2024
2.1.156 119 3/8/2024
2.1.155 114 3/8/2024
2.1.154 115 3/6/2024
2.1.153 112 3/4/2024
2.1.152 108 3/4/2024
2.1.151 116 3/3/2024
2.1.150 110 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 103 2/29/2024
2.1.145 83 2/29/2024
2.1.144 93 2/29/2024
2.1.143 103 2/26/2024
2.1.142 106 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 112 2/22/2024
2.1.136 107 2/21/2024
2.1.135 105 2/21/2024
2.1.134 113 2/21/2024
2.1.133 115 2/21/2024
2.1.132 101 2/21/2024
2.1.131 113 2/20/2024
2.1.130 115 2/20/2024
2.1.129 105 2/20/2024
2.1.128 102 2/20/2024
2.1.127 104 2/19/2024
2.1.126 111 2/19/2024
2.1.125 118 2/17/2024
2.1.124 114 2/17/2024
2.1.123 118 2/16/2024
2.1.122 117 2/16/2024
2.1.121 107 2/16/2024
2.1.120 108 2/16/2024
2.1.119 109 2/16/2024
2.1.118 112 2/16/2024
2.1.117 124 2/14/2024
2.1.116 112 2/13/2024
2.1.115 119 2/13/2024
2.1.114 123 2/13/2024
2.1.113 115 2/13/2024
2.1.112 113 2/12/2024
2.1.111 119 2/11/2024
2.1.110 112 2/11/2024
2.1.109 124 2/11/2024
2.1.108 112 2/10/2024
2.1.107 113 2/9/2024
2.1.106 104 2/9/2024
2.1.105 116 2/9/2024
2.1.104 110 2/8/2024
2.1.103 114 2/8/2024
2.1.102 113 2/8/2024
2.1.101 117 2/8/2024
2.1.100 115 2/7/2024
2.1.99 105 2/7/2024
2.1.98 106 2/7/2024
2.1.97 107 2/7/2024
2.1.96 115 2/6/2024
2.1.95 112 2/6/2024
2.1.94 106 2/5/2024
2.1.93 110 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 94 1/29/2024
2.1.88 103 1/28/2024
2.1.87 104 1/28/2024
2.1.86 102 1/28/2024
2.1.85 89 1/28/2024
2.1.84 108 1/28/2024
2.1.83 96 1/28/2024
2.1.82 94 1/27/2024
2.1.81 102 1/27/2024
2.1.80 102 1/27/2024
2.1.79 103 1/27/2024
2.1.78 103 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 100 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 112 1/15/2024
2.1.67 103 1/15/2024
2.1.66 109 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 111 1/13/2024
2.1.61 104 1/12/2024
2.1.60 118 1/11/2024
2.1.59 117 1/7/2024
2.1.58 111 1/5/2024
2.1.57 116 1/5/2024
2.1.56 129 1/5/2024
2.1.55 119 1/1/2024
2.1.54 126 12/28/2023
2.1.53 124 12/28/2023
2.1.52 119 12/28/2023
2.1.51 120 12/27/2023
2.1.50 137 12/27/2023
2.1.49 102 12/27/2023
2.1.48 122 12/25/2023
2.1.47 118 12/25/2023
2.1.46 125 12/25/2023
2.1.45 112 12/25/2023
2.1.44 114 12/25/2023
2.1.43 118 12/24/2023
2.1.42 119 12/23/2023
2.1.41 118 12/23/2023
2.1.40 113 12/23/2023
2.1.39 106 12/23/2023
2.1.38 108 12/23/2023
2.1.37 118 12/19/2023
2.1.36 106 12/19/2023
2.1.35 132 12/10/2023
2.1.34 120 12/10/2023
2.1.33 121 12/9/2023
2.1.32 114 12/9/2023
2.1.31 126 12/9/2023
2.1.30 122 12/6/2023
2.1.29 137 12/5/2023
2.1.28 119 12/4/2023
2.1.27 129 12/4/2023
2.1.26 107 12/4/2023
2.1.25 147 11/23/2023
2.1.24 124 11/23/2023
2.1.23 103 11/23/2023
2.1.22 127 11/23/2023
2.1.21 122 11/20/2023
2.1.20 104 11/20/2023
2.1.19 107 11/19/2023
2.1.18 115 11/19/2023
2.1.17 100 11/19/2023
2.1.16 119 11/19/2023
2.1.15 115 11/19/2023
2.1.14 115 11/18/2023
2.1.13 119 11/18/2023
2.1.12 115 11/18/2023
2.1.11 113 11/17/2023
2.1.10 110 11/17/2023
2.1.9 96 11/17/2023
2.1.8 116 11/17/2023
2.1.7 112 11/17/2023
2.1.6 115 11/17/2023
2.1.5 126 11/17/2023
2.1.4 110 11/17/2023
2.1.3 107 11/16/2023
2.0.75 113 11/16/2023
2.0.74 109 11/16/2023
2.0.73 116 11/15/2023
2.0.2 94 11/16/2023
2.0.1 111 11/16/2023
1.0.72 106 11/15/2023
1.0.71 99 11/14/2023
1.0.70 109 11/13/2023
1.0.69 116 11/9/2023
1.0.68 109 11/9/2023
1.0.67 117 11/8/2023
1.0.66 113 11/7/2023
1.0.65 105 11/3/2023
1.0.64 120 11/2/2023
1.0.63 137 10/26/2023
1.0.62 130 10/19/2023
1.0.61 122 10/18/2023
1.0.60 132 10/16/2023
1.0.59 130 10/16/2023
1.0.58 122 10/12/2023
1.0.57 126 9/21/2023
1.0.56 128 9/20/2023
1.0.55 131 9/18/2023
1.0.54 114 9/18/2023
1.0.53 125 9/15/2023
1.0.52 141 8/31/2023
1.0.51 137 8/30/2023
1.0.50 138 8/30/2023
1.0.49 158 8/28/2023
1.0.48 138 8/25/2023
1.0.47 132 8/22/2023
1.0.46 134 8/18/2023
1.0.45 163 8/17/2023
1.0.44 165 8/11/2023
1.0.43 152 8/9/2023
1.0.42 154 8/8/2023
1.0.41 149 8/7/2023
1.0.40 162 7/14/2023
1.0.39 131 7/11/2023
1.0.38 157 7/10/2023
1.0.37 162 7/7/2023
1.0.36 156 7/3/2023
1.0.35 172 6/30/2023
1.0.34 171 6/28/2023
1.0.33 151 6/28/2023
1.0.32 157 6/27/2023
1.0.31 161 6/26/2023
1.0.30 158 6/22/2023
1.0.29 153 6/16/2023
1.0.28 166 6/15/2023
1.0.27 181 6/12/2023
1.0.26 157 6/9/2023
1.0.25 143 6/8/2023
1.0.24 146 6/7/2023
1.0.23 148 6/7/2023
1.0.22 150 6/6/2023
1.0.21 156 6/5/2023
1.0.20 158 6/2/2023
1.0.19 175 6/2/2023
1.0.18 144 6/1/2023
1.0.17 152 5/31/2023
1.0.16 156 5/31/2023
1.0.15 149 5/30/2023
1.0.14 139 5/29/2023
1.0.13 142 5/26/2023
1.0.12 161 5/25/2023
1.0.11 147 5/24/2023
1.0.10 146 5/24/2023
1.0.8 159 5/23/2023
1.0.7 152 5/22/2023
1.0.6 157 5/17/2023
1.0.5 204 4/11/2023
1.0.4 225 4/3/2023
1.0.3 196 4/3/2023
1.0.1 212 2/23/2023