Partager via


FeedbackItem Constructors

Definition

Overloads

FeedbackItem(String, List<String>)

Initializes a new instance of the FeedbackItem class.

FeedbackItem(String, List<String>, FeedbackDisplayLayout)

Initializes a new instance of the FeedbackItem class.

FeedbackItem(String, List<String>, String, FeedbackDisplayLayout)

Initializes a new instance of the FeedbackItem class.

FeedbackItem(String, List<String>)

Initializes a new instance of the FeedbackItem class.

[System.Runtime.CompilerServices.NullableContext(1)]
public FeedbackItem (string header, System.Collections.Generic.List<string>? actions);
[<System.Runtime.CompilerServices.NullableContext(1)>]
new System.Management.Automation.Subsystem.Feedback.FeedbackItem : string * System.Collections.Generic.List<string> -> System.Management.Automation.Subsystem.Feedback.FeedbackItem
Public Sub New (header As String, actions As List(Of String))

Parameters

header
String

The description message (must be not null or empty).

actions
List<String>

The recommended actions to take (optional).

Attributes

Applies to

FeedbackItem(String, List<String>, FeedbackDisplayLayout)

Initializes a new instance of the FeedbackItem class.

[System.Runtime.CompilerServices.NullableContext(1)]
public FeedbackItem (string header, System.Collections.Generic.List<string>? actions, System.Management.Automation.Subsystem.Feedback.FeedbackDisplayLayout layout);
[<System.Runtime.CompilerServices.NullableContext(1)>]
new System.Management.Automation.Subsystem.Feedback.FeedbackItem : string * System.Collections.Generic.List<string> * System.Management.Automation.Subsystem.Feedback.FeedbackDisplayLayout -> System.Management.Automation.Subsystem.Feedback.FeedbackItem
Public Sub New (header As String, actions As List(Of String), layout As FeedbackDisplayLayout)

Parameters

header
String

The description message (must be not null or empty).

actions
List<String>

The recommended actions to take (optional).

layout
FeedbackDisplayLayout

The layout for displaying the actions.

Attributes

Applies to

FeedbackItem(String, List<String>, String, FeedbackDisplayLayout)

Initializes a new instance of the FeedbackItem class.

[System.Runtime.CompilerServices.NullableContext(1)]
public FeedbackItem (string header, System.Collections.Generic.List<string>? actions, string? footer, System.Management.Automation.Subsystem.Feedback.FeedbackDisplayLayout layout);
[<System.Runtime.CompilerServices.NullableContext(1)>]
new System.Management.Automation.Subsystem.Feedback.FeedbackItem : string * System.Collections.Generic.List<string> * string * System.Management.Automation.Subsystem.Feedback.FeedbackDisplayLayout -> System.Management.Automation.Subsystem.Feedback.FeedbackItem
Public Sub New (header As String, actions As List(Of String), footer As String, layout As FeedbackDisplayLayout)

Parameters

header
String

The description message (must be not null or empty).

actions
List<String>

The recommended actions to take (optional).

footer
String

The footer message (optional).

layout
FeedbackDisplayLayout

The layout for displaying the actions.

Attributes

Applies to