oliverbooth.dev/OliverBooth.Common/Data/Visibility.cs
Oliver Booth 6ec4103a3a
refactor: separate Markdig extensions from project
Also introduces .Common project to house common references and types
2024-05-05 02:18:20 +01:00

28 lines
661 B
C#

namespace OliverBooth.Common.Data;
/// <summary>
/// An enumeration of the possible visibilities of a blog post.
/// </summary>
public enum Visibility
{
/// <summary>
/// Used for filtering results. Represents all visibilities.
/// </summary>
None = -1,
/// <summary>
/// The post is private and only visible to the author, or those with the password.
/// </summary>
Private,
/// <summary>
/// The post is unlisted and only visible to those with the link.
/// </summary>
Unlisted,
/// <summary>
/// The post is published and visible to everyone.
/// </summary>
Published
}