Skip to content
ConsoleMonster
Class

HelpExample

ConsoleMonster.Help

Namespace
ConsoleMonster.Help
Assembly
ConsoleMonster
Modifiers
sealed

One example: a title, the code and the remarks.

Inheritance

  • object
  • HelpExample

Usage

Explore 9 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 3

Accepted by parameters 6

Constructors

public HelpExample(string? title, string code) #

Creates an example.

Parameters

title string? required
The title.
code string required
The code.

Properties

public string? Title { get; } #

The title, or null.

public string Code { get; } #

The code (PowerShell).

public string? Remarks { get; set; } #

The remarks, or null.

Extension Methods

public static HelpExample Remarks(HelpExample helpExample, string? value) #

Sets HelpExample.Remarks: The remarks, or null.

Parameters

helpExample ConsoleMonster.Help.HelpExample required
The instance.
value string? required
The value.

Returns

HelpExample The same instance.

Examples

// C# initializer or property    // C# fluent
helpExample.Remarks = value;     helpExample.Remarks(value);