18 references to Lazy
Microsoft.AspNetCore.HttpsPolicy (1)
HttpsRedirectionMiddleware.cs (1)
48
_httpsPort = new
Lazy
<int>(httpsRedirectionOptions.HttpsPort.Value);
Microsoft.Extensions.Options (1)
OptionsCache.cs (1)
100
return _cache.TryAdd(name ?? Options.DefaultName, new
Lazy
<TOptions>(
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (1)
374
_key = new
Lazy
<SafeDsaHandle>(newKey);
src\libraries\Common\src\System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (4)
22
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.GenerateECKey(curve, out int keySize));
79
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.GenerateECKey(value));
88
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.GenerateECKey(curve, out int keySizeValue));
107
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.ImportECKey(parameters, out int keySize));
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (3)
33
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.GenerateECKey(curve, out int keySize));
254
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.GenerateECKey(curve, out int keySize));
266
_key = new
Lazy
<SafeEvpPKeyHandle>(ECOpenSsl.ImportECKey(parameters, out int keySize));
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.cs (2)
31
_key = new
Lazy
<SafeEcKeyHandle>(key);
58
_key = new
Lazy
<SafeEcKeyHandle>(key);
src\libraries\Common\src\System\Security\Cryptography\ECOpenSsl.ImportExport.cs (1)
51
_key = new
Lazy
<SafeEcKeyHandle>(key);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (1)
635
_key = new
Lazy
<SafeEvpPKeyHandle>(newKey);
System\Security\Cryptography\ECDiffieHellmanOpenSsl.cs (2)
39
_key = new
Lazy
<SafeEvpPKeyHandle>(pkeyHandle.DuplicateHandle());
68
_key = new
Lazy
<SafeEvpPKeyHandle>(Interop.Crypto.CreateEvpPkeyFromEcKey(ecKeyHandle));
System\Security\Cryptography\ECDsaOpenSsl.cs (2)
39
_key = new
Lazy
<SafeEvpPKeyHandle>(pkeyHandle.DuplicateHandle());
68
_key = new
Lazy
<SafeEvpPKeyHandle>(Interop.Crypto.CreateEvpPkeyFromEcKey(ecKeyHandle));