Files
CliFx/CliFx/Models/HelpTextSource.cs
2019-08-13 18:00:26 +03:00

22 lines
687 B
C#

using System.Collections.Generic;
namespace CliFx.Models
{
public class HelpTextSource
{
public ApplicationMetadata ApplicationMetadata { get; }
public IReadOnlyList<CommandSchema> AvailableCommandSchemas { get; }
public CommandSchema TargetCommandSchema { get; }
public HelpTextSource(ApplicationMetadata applicationMetadata,
IReadOnlyList<CommandSchema> availableCommandSchemas,
CommandSchema targetCommandSchema)
{
ApplicationMetadata = applicationMetadata;
AvailableCommandSchemas = availableCommandSchemas;
TargetCommandSchema = targetCommandSchema;
}
}
}