61 lines
1.2 KiB
C#
61 lines
1.2 KiB
C#
namespace Unosquare.Swan
|
|
{
|
|
/// <summary>
|
|
/// Enumeration of Operating Systems.
|
|
/// </summary>
|
|
public enum OperatingSystem
|
|
{
|
|
/// <summary>
|
|
/// Unknown OS
|
|
/// </summary>
|
|
Unknown,
|
|
|
|
/// <summary>
|
|
/// Windows
|
|
/// </summary>
|
|
Windows,
|
|
|
|
/// <summary>
|
|
/// UNIX/Linux
|
|
/// </summary>
|
|
Unix,
|
|
|
|
/// <summary>
|
|
/// macOS (OSX)
|
|
/// </summary>
|
|
Osx,
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerates the different Application Worker States.
|
|
/// </summary>
|
|
public enum AppWorkerState
|
|
{
|
|
/// <summary>
|
|
/// The stopped
|
|
/// </summary>
|
|
Stopped,
|
|
|
|
/// <summary>
|
|
/// The running
|
|
/// </summary>
|
|
Running,
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines Endianness, big or little.
|
|
/// </summary>
|
|
public enum Endianness
|
|
{
|
|
/// <summary>
|
|
/// In big endian, you store the most significant byte in the smallest address.
|
|
/// </summary>
|
|
Big,
|
|
|
|
/// <summary>
|
|
/// In little endian, you store the least significant byte in the smallest address.
|
|
/// </summary>
|
|
Little,
|
|
}
|
|
}
|