Class ExampleAttribute
- Namespace
- Signal.Application.Commands
- Assembly
- Signal.Application.dll
An example invocation shown by /help <command>, written without prefix (e.g. add 2 3).
Repeat the attribute for several examples.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public sealed class ExampleAttribute : Attribute
- Inheritance
-
ExampleAttribute
- Inherited Members
Constructors
ExampleAttribute(string)
An example invocation shown by /help <command>, written without prefix (e.g. add 2 3).
Repeat the attribute for several examples.
public ExampleAttribute(string text)
Parameters
textstringThe example, without prefix.
Properties
Text
The example, without prefix.
public string Text { get; }