diff --git a/src/src/interfance/IPot.cs b/src/src/interfance/IPot.cs index 74f0b81..b639890 100644 --- a/src/src/interfance/IPot.cs +++ b/src/src/interfance/IPot.cs @@ -4,7 +4,7 @@ public interface IPot { bool IsValid { get; } byte[] Data { get; } - IPotAdd Add { get; } - IPotGet Get { get; } + IVaultAdd Add { get; } + IVaultGet Get { get; } } } \ No newline at end of file diff --git a/src/src/interfance/IPotAdd.cs b/src/src/interfance/IVaultAdd.cs similarity index 96% rename from src/src/interfance/IPotAdd.cs rename to src/src/interfance/IVaultAdd.cs index 25ffcd3..8066ae8 100644 --- a/src/src/interfance/IPotAdd.cs +++ b/src/src/interfance/IVaultAdd.cs @@ -3,7 +3,7 @@ namespace Byter { - public interface IPotAdd + public interface IVaultAdd { // 1 byte (3) void Bool(bool value); diff --git a/src/src/interfance/IPotGet.cs b/src/src/interfance/IVaultGet.cs similarity index 95% rename from src/src/interfance/IPotGet.cs rename to src/src/interfance/IVaultGet.cs index da85857..1d79237 100644 --- a/src/src/interfance/IPotGet.cs +++ b/src/src/interfance/IVaultGet.cs @@ -3,7 +3,7 @@ namespace Byter { - public interface IPotGet + public interface IVaultGet { // 1 byte (3) bool Bool(); diff --git a/src/src/partials/Pot.cs b/src/src/partials/Vault.cs similarity index 63% rename from src/src/partials/Pot.cs rename to src/src/partials/Vault.cs index d4fbadf..9cca411 100644 --- a/src/src/partials/Pot.cs +++ b/src/src/partials/Vault.cs @@ -3,22 +3,22 @@ namespace Byter { - public partial class Pot : IPot + public partial class Vault : IPot { private readonly List _bytes; public bool IsValid { get; } public byte[] Data => _bytes.ToArray(); - public IPotAdd Add { get; } - public IPotGet Get { get; } + public IVaultAdd Add { get; } + public IVaultGet Get { get; } - public Pot() : this(null) + public Vault() : this(null) { } - public Pot(byte[] data) + public Vault(byte[] data) { - Get = new PotGet(this); - Add = new PotAdd(this); + Get = new VaultGet(this); + Add = new VaultAdd(this); IsValid = false; diff --git a/src/src/partials/PotAdd.cs b/src/src/partials/VaultAdd.cs similarity index 93% rename from src/src/partials/PotAdd.cs rename to src/src/partials/VaultAdd.cs index 938e971..561b240 100644 --- a/src/src/partials/PotAdd.cs +++ b/src/src/partials/VaultAdd.cs @@ -3,14 +3,14 @@ namespace Byter { - public partial class Pot + public partial class Vault { - private class PotAdd : IPotAdd + private class VaultAdd : IVaultAdd { - private Pot _pot; - public PotAdd(Pot pot) + private Vault _vault; + public VaultAdd(Vault vault) { - _pot = pot; + _vault = vault; } public void Bool(bool value) diff --git a/src/src/partials/PotGet.cs b/src/src/partials/VaultGet.cs similarity index 93% rename from src/src/partials/PotGet.cs rename to src/src/partials/VaultGet.cs index 99df8c9..fabad78 100644 --- a/src/src/partials/PotGet.cs +++ b/src/src/partials/VaultGet.cs @@ -3,14 +3,14 @@ namespace Byter { - public partial class Pot + public partial class Vault { - private class PotGet : IPotGet + private class VaultGet : IVaultGet { - private Pot _pot; - public PotGet(Pot pot) + private Vault _vault; + public VaultGet(Vault vault) { - _pot = pot; + _vault = vault; } public bool Bool()