mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
namespace CliFx
|
|
{
|
|
/// <summary>
|
|
/// Metadata associated with an application.
|
|
/// </summary>
|
|
public class ApplicationMetadata
|
|
{
|
|
/// <summary>
|
|
/// Application title.
|
|
/// </summary>
|
|
public string Title { get; }
|
|
|
|
/// <summary>
|
|
/// Application executable name.
|
|
/// </summary>
|
|
public string ExecutableName { get; }
|
|
|
|
/// <summary>
|
|
/// Application version text.
|
|
/// </summary>
|
|
public string VersionText { get; }
|
|
|
|
/// <summary>
|
|
/// Application description.
|
|
/// </summary>
|
|
public string? Description { get; }
|
|
|
|
/// <summary>
|
|
/// Initializes an instance of <see cref="ApplicationMetadata"/>.
|
|
/// </summary>
|
|
public ApplicationMetadata(string title, string executableName, string versionText, string? description)
|
|
{
|
|
Title = title;
|
|
ExecutableName = executableName;
|
|
VersionText = versionText;
|
|
Description = description;
|
|
}
|
|
}
|
|
} |