oliverbooth.dev/OliverBooth.Common/Data/Visibility.cs

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
}