Soenneker.Utils.ResettableLazy 2.1.194

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. 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.194
NuGet\Install-Package Soenneker.Utils.ResettableLazy -Version 2.1.194
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.194" />
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.194
#r "nuget: Soenneker.Utils.ResettableLazy, 2.1.194"
#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.194

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

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.197 35 5/15/2024
2.1.196 39 5/13/2024
2.1.195 89 4/29/2024
2.1.194 82 4/29/2024
2.1.193 81 4/28/2024
2.1.192 75 4/28/2024
2.1.191 78 4/28/2024
2.1.190 80 4/28/2024
2.1.189 78 4/28/2024
2.1.188 90 4/28/2024
2.1.187 72 4/27/2024
2.1.186 72 4/27/2024
2.1.185 82 4/19/2024
2.1.184 82 4/18/2024
2.1.183 78 4/12/2024
2.1.182 66 4/12/2024
2.1.181 69 4/12/2024
2.1.180 72 4/12/2024
2.1.179 75 4/12/2024
2.1.178 70 4/11/2024
2.1.177 65 4/10/2024
2.1.176 64 4/9/2024
2.1.175 88 4/2/2024
2.1.174 81 4/1/2024
2.1.173 77 3/29/2024
2.1.172 65 3/25/2024
2.1.171 71 3/25/2024
2.1.170 69 3/20/2024
2.1.169 85 3/19/2024
2.1.168 91 3/19/2024
2.1.167 82 3/18/2024
2.1.166 98 3/15/2024
2.1.165 88 3/13/2024
2.1.164 87 3/13/2024
2.1.163 91 3/13/2024
2.1.162 87 3/12/2024
2.1.161 94 3/12/2024
2.1.160 90 3/11/2024
2.1.159 90 3/11/2024
2.1.158 93 3/10/2024
2.1.157 92 3/8/2024
2.1.156 91 3/8/2024
2.1.155 83 3/8/2024
2.1.154 90 3/6/2024
2.1.153 82 3/4/2024
2.1.152 76 3/4/2024
2.1.151 86 3/3/2024
2.1.150 79 3/2/2024
2.1.149 76 3/2/2024
2.1.148 81 3/2/2024
2.1.147 72 3/2/2024
2.1.146 74 2/29/2024
2.1.145 72 2/29/2024
2.1.144 67 2/29/2024
2.1.143 75 2/26/2024
2.1.142 78 2/25/2024
2.1.141 81 2/25/2024
2.1.140 77 2/23/2024
2.1.139 73 2/22/2024
2.1.138 83 2/22/2024
2.1.137 87 2/22/2024
2.1.136 80 2/21/2024
2.1.135 79 2/21/2024
2.1.134 85 2/21/2024
2.1.133 89 2/21/2024
2.1.132 89 2/21/2024
2.1.131 84 2/20/2024
2.1.130 88 2/20/2024
2.1.129 81 2/20/2024
2.1.128 78 2/20/2024
2.1.127 78 2/19/2024
2.1.126 84 2/19/2024
2.1.125 91 2/17/2024
2.1.124 85 2/17/2024
2.1.123 90 2/16/2024
2.1.122 89 2/16/2024
2.1.121 81 2/16/2024
2.1.120 83 2/16/2024
2.1.119 82 2/16/2024
2.1.118 78 2/16/2024
2.1.117 94 2/14/2024
2.1.116 85 2/13/2024
2.1.115 92 2/13/2024
2.1.114 95 2/13/2024
2.1.113 87 2/13/2024
2.1.112 84 2/12/2024
2.1.111 87 2/11/2024
2.1.110 86 2/11/2024
2.1.109 97 2/11/2024
2.1.108 85 2/10/2024
2.1.107 85 2/9/2024
2.1.106 84 2/9/2024
2.1.105 87 2/9/2024
2.1.104 83 2/8/2024
2.1.103 85 2/8/2024
2.1.102 86 2/8/2024
2.1.101 89 2/8/2024
2.1.100 81 2/7/2024
2.1.99 77 2/7/2024
2.1.98 77 2/7/2024
2.1.97 81 2/7/2024
2.1.96 83 2/6/2024
2.1.95 85 2/6/2024
2.1.94 79 2/5/2024
2.1.93 79 2/4/2024
2.1.92 77 2/2/2024
2.1.91 76 1/31/2024
2.1.90 76 1/29/2024
2.1.89 71 1/29/2024
2.1.88 77 1/28/2024
2.1.87 78 1/28/2024
2.1.86 75 1/28/2024
2.1.85 78 1/28/2024
2.1.84 82 1/28/2024
2.1.83 72 1/28/2024
2.1.82 73 1/27/2024
2.1.81 72 1/27/2024
2.1.80 75 1/27/2024
2.1.79 77 1/27/2024
2.1.78 76 1/27/2024
2.1.77 77 1/26/2024
2.1.76 77 1/26/2024
2.1.75 76 1/26/2024
2.1.74 76 1/26/2024
2.1.73 80 1/26/2024
2.1.72 75 1/25/2024
2.1.71 77 1/25/2024
2.1.70 78 1/25/2024
2.1.69 83 1/19/2024
2.1.68 86 1/15/2024
2.1.67 78 1/15/2024
2.1.66 84 1/15/2024
2.1.65 86 1/15/2024
2.1.64 88 1/15/2024
2.1.63 90 1/14/2024
2.1.62 87 1/13/2024
2.1.61 79 1/12/2024
2.1.60 94 1/11/2024
2.1.59 92 1/7/2024
2.1.58 87 1/5/2024
2.1.57 93 1/5/2024
2.1.56 108 1/5/2024
2.1.55 94 1/1/2024
2.1.54 103 12/28/2023
2.1.53 101 12/28/2023
2.1.52 98 12/28/2023
2.1.51 96 12/27/2023
2.1.50 114 12/27/2023
2.1.49 94 12/27/2023
2.1.48 98 12/25/2023
2.1.47 95 12/25/2023
2.1.46 100 12/25/2023
2.1.45 90 12/25/2023
2.1.44 89 12/25/2023
2.1.43 94 12/24/2023
2.1.42 96 12/23/2023
2.1.41 96 12/23/2023
2.1.40 92 12/23/2023
2.1.39 82 12/23/2023
2.1.38 89 12/23/2023
2.1.37 94 12/19/2023
2.1.36 84 12/19/2023
2.1.35 108 12/10/2023
2.1.34 97 12/10/2023
2.1.33 97 12/9/2023
2.1.32 93 12/9/2023
2.1.31 102 12/9/2023
2.1.30 99 12/6/2023
2.1.29 112 12/5/2023
2.1.28 97 12/4/2023
2.1.27 106 12/4/2023
2.1.26 84 12/4/2023
2.1.25 123 11/23/2023
2.1.24 102 11/23/2023
2.1.23 95 11/23/2023
2.1.22 103 11/23/2023
2.1.21 97 11/20/2023
2.1.20 96 11/20/2023
2.1.19 88 11/19/2023
2.1.18 92 11/19/2023
2.1.17 92 11/19/2023
2.1.16 94 11/19/2023
2.1.15 91 11/19/2023
2.1.14 92 11/18/2023
2.1.13 98 11/18/2023
2.1.12 88 11/18/2023
2.1.11 90 11/17/2023
2.1.10 88 11/17/2023
2.1.9 88 11/17/2023
2.1.8 92 11/17/2023
2.1.7 90 11/17/2023
2.1.6 94 11/17/2023
2.1.5 101 11/17/2023
2.1.4 91 11/17/2023
2.1.3 87 11/16/2023
2.0.75 90 11/16/2023
2.0.74 86 11/16/2023
2.0.73 91 11/15/2023
2.0.2 86 11/16/2023
2.0.1 86 11/16/2023
1.0.72 83 11/15/2023
1.0.71 89 11/14/2023
1.0.70 85 11/13/2023
1.0.69 89 11/9/2023
1.0.68 84 11/9/2023
1.0.67 92 11/8/2023
1.0.66 87 11/7/2023
1.0.65 95 11/3/2023
1.0.64 99 11/2/2023
1.0.63 110 10/26/2023
1.0.62 107 10/19/2023
1.0.61 97 10/18/2023
1.0.60 107 10/16/2023
1.0.59 107 10/16/2023
1.0.58 96 10/12/2023
1.0.57 103 9/21/2023
1.0.56 104 9/20/2023
1.0.55 105 9/18/2023
1.0.54 89 9/18/2023
1.0.53 116 9/15/2023
1.0.52 117 8/31/2023
1.0.51 109 8/30/2023
1.0.50 112 8/30/2023
1.0.49 135 8/28/2023
1.0.48 117 8/25/2023
1.0.47 108 8/22/2023
1.0.46 125 8/18/2023
1.0.45 138 8/17/2023
1.0.44 146 8/11/2023
1.0.43 131 8/9/2023
1.0.42 130 8/8/2023
1.0.41 128 8/7/2023
1.0.40 137 7/14/2023
1.0.39 103 7/11/2023
1.0.38 131 7/10/2023
1.0.37 139 7/7/2023
1.0.36 131 7/3/2023
1.0.35 148 6/30/2023
1.0.34 148 6/28/2023
1.0.33 142 6/28/2023
1.0.32 126 6/27/2023
1.0.31 138 6/26/2023
1.0.30 134 6/22/2023
1.0.29 130 6/16/2023
1.0.28 141 6/15/2023
1.0.27 156 6/12/2023
1.0.26 130 6/9/2023
1.0.25 118 6/8/2023
1.0.24 119 6/7/2023
1.0.23 125 6/7/2023
1.0.22 139 6/6/2023
1.0.21 131 6/5/2023
1.0.20 136 6/2/2023
1.0.19 149 6/2/2023
1.0.18 119 6/1/2023
1.0.17 128 5/31/2023
1.0.16 132 5/31/2023
1.0.15 124 5/30/2023
1.0.14 112 5/29/2023
1.0.13 118 5/26/2023
1.0.12 135 5/25/2023
1.0.11 123 5/24/2023
1.0.10 121 5/24/2023
1.0.8 135 5/23/2023
1.0.7 129 5/22/2023
1.0.6 130 5/17/2023
1.0.5 181 4/11/2023
1.0.4 202 4/3/2023
1.0.3 169 4/3/2023
1.0.1 187 2/23/2023