mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Killed history
This commit is contained in:
18
NadekoBot.Core/Common/Configs/IConfigSeria.cs
Normal file
18
NadekoBot.Core/Common/Configs/IConfigSeria.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace NadekoBot.Core.Common.Configs
|
||||
{
|
||||
/// <summary>
|
||||
/// Base interface for available config serializers
|
||||
/// </summary>
|
||||
public interface IConfigSeria
|
||||
{
|
||||
/// <summary>
|
||||
/// Serialize the object to string
|
||||
/// </summary>
|
||||
public string Serialize<T>(T obj);
|
||||
|
||||
/// <summary>
|
||||
/// Deserialize string data into an object of the specified type
|
||||
/// </summary>
|
||||
public T Deserialize<T>(string data);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user