Initial C# SDK structure and interfaces
This commit is contained in:
10
Interfaces/IDatabaseAPI.cs
Normal file
10
Interfaces/IDatabaseAPI.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Chtn.CSharpSDK.Interfaces
|
||||
{
|
||||
public interface IDatabaseAPI
|
||||
{
|
||||
void Set(string collection, string key, object value);
|
||||
string Get(string collection, string key);
|
||||
void Delete(string collection, string key);
|
||||
void Flush();
|
||||
}
|
||||
}
|
||||
10
Interfaces/IKeyringAPI.cs
Normal file
10
Interfaces/IKeyringAPI.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Chtn.CSharpSDK.Interfaces
|
||||
{
|
||||
public interface IKeyringAPI
|
||||
{
|
||||
void Set(string key, object value);
|
||||
string Get(string key);
|
||||
void Delete(string key);
|
||||
void Flush();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user