mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
43 lines
1.1 KiB
C#
43 lines
1.1 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.
|
|
/// </summary>
|
|
public string Version { 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 version,
|
|
string? description)
|
|
{
|
|
Title = title;
|
|
ExecutableName = executableName;
|
|
Version = version;
|
|
Description = description;
|
|
}
|
|
}
|
|
} |