2 instantiations of HelpContext
System.CommandLine (2)
30 references to HelpContext
System.CommandLine (30)
Help\HelpBuilder.cs (22)
19private Func<HelpContext, IEnumerable<Func<HelpContext, bool>>>? _getLayout;
39public virtual void Write(HelpContext context)
68Func<HelpContext, string?>? firstColumnText = null,
69Func<HelpContext, string?>? secondColumnText = null,
70Func<HelpContext, string?>? defaultValue = null)
89public void CustomizeLayout(Func<HelpContext, IEnumerable<Func<HelpContext, bool>>> getLayout)
167private IEnumerable<TwoColumnHelpRow> GetCommandArgumentRows(Command command, HelpContext context) =>
175private bool WriteSubcommands(HelpContext context)
187private bool WriteAdditionalArguments(HelpContext context)
221public void WriteColumns(IReadOnlyList<TwoColumnHelpRow> items, HelpContext context)
334private IEnumerable<Func<HelpContext, bool>> GetLayout(HelpContext context)
399HelpContext context)
492HelpContext context)
526Func<HelpContext, string?>? getFirstColumn,
527Func<HelpContext, string?>? getSecondColumn,
528Func<HelpContext, string?>? getDefaultValue)
535public Func<HelpContext, string?>? GetFirstColumn { get; }
536public Func<HelpContext, string?>? GetSecondColumn { get; }
537public Func<HelpContext, string?>? GetDefaultValue { get; }