FlorianDahn efe5fef7d0 Adding setting for automated session serialization on shutdown
- adding automated session serialization on application ending (console or shutdown/logoff)
- adding console class for managing system events
2020-04-21 21:45:21 +02:00

36 lines
778 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace TelegramBotBase.Enums
{
public enum eSettings
{
/// <summary>
/// How often could a form navigate to another (within one user action/call/message)
/// </summary>
NavigationMaximum = 1,
/// <summary>
/// Loggs all messages and sent them to the event handler
/// </summary>
LogAllMessages = 2,
/// <summary>
/// Skips all messages during running (good for big delay updates)
/// </summary>
SkipAllMessages = 3,
/// <summary>
/// Does stick to the console event handler and safes all sessions on exit.
/// </summary>
SafeSessionsOnConsoleExit = 4
}
}