- adding multiple classes and interfaces for Session Serialization and recovery after restart
16 lines
326 B
C#
16 lines
326 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace TelegramBotBase.Attributes
|
|
{
|
|
/// <summary>
|
|
/// Declares that the field or property should be save and recovered an restart.
|
|
/// </summary>
|
|
public class SaveState : Attribute
|
|
{
|
|
public String Key { get; set; }
|
|
|
|
}
|
|
}
|