Soenneker.Utils.ResettableLazy 2.1.71

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

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

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