feat(CryptFactory) : initiliazierte Schnittstellen.
- Lazy-Methode hinzugefügt, um statische CryptFactory zu beweisen
This commit is contained in:
11
DigitalData.Core.Security/CryptFactory.cs
Normal file
11
DigitalData.Core.Security/CryptFactory.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using DigitalData.Core.Abstractions.Security;
|
||||
|
||||
namespace DigitalData.Core.Security
|
||||
{
|
||||
public class CryptFactory : ICryptFactory
|
||||
{
|
||||
private static readonly Lazy<ICryptFactory> LazyStaticCryptFactory = new (() => new CryptFactory());
|
||||
|
||||
public ICryptFactory Static = LazyStaticCryptFactory.Value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user