Mass rename

This commit is contained in:
TheXamlGuy
2024-05-12 11:02:19 +01:00
parent 0860e286e2
commit c1b6e595bc
102 changed files with 412 additions and 448 deletions
+31
View File
@@ -0,0 +1,31 @@
using System.Diagnostics.CodeAnalysis;
namespace Bitvault;
public record SecureStorage<TValue>(TValue? Value = default);
public record Vault
{
public Vault(string name, string password)
{
Name = name;
Password = password;
}
public Vault(string password)
{
Password = password;
}
public static SecureStorage<TValue> As<TValue>(TValue value) => new(value);
public static SecureStorage<TValue> As<TValue>() where TValue : new() => new(new TValue());
[MaybeNull]
public string Name { get; }
[MaybeNull]
public string? Password { get; }
}