// Copyright Epic Games, Inc. All Rights Reserved.
using System;
namespace HordeServer.Utilities
{
///
/// Attribute indicating that an object should generate a schema doc page
///
[AttributeUsage(AttributeTargets.Class)]
public sealed class ConfigDocAttribute : Attribute
{
///
/// Page title
///
public string Title { get; }
///
/// Rail to show with breadcrumbs at the top of the page
///
public string LinkRail { get; }
///
/// Output filename
///
public string FileName { get; }
///
/// Optional introductory text on the page
///
public string? Introduction { get; set; }
///
/// Constructor
///
public ConfigDocAttribute(string title, string linkRail, string fileName)
{
Title = title;
LinkRail = linkRail;
FileName = fileName;
}
}
}