fix: CryptFactory.Instance in Getter-Methode für träges Laden umwandeln
This commit is contained in:
@@ -4,8 +4,8 @@ namespace DigitalData.Core.Security
|
||||
{
|
||||
public class CryptFactory : ICryptFactory
|
||||
{
|
||||
private static readonly Lazy<ICryptFactory> LazyStaticCryptFactory = new (() => new CryptFactory());
|
||||
private static readonly Lazy<CryptFactory> LazyStaticCryptFactory = new (() => new ());
|
||||
|
||||
public static ICryptFactory Static = LazyStaticCryptFactory.Value;
|
||||
public static CryptFactory Instance => LazyStaticCryptFactory.Value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user