Udostępnij za pośrednictwem


SuggestedActionSet Constructors

Definition

Overloads

SuggestedActionSet(IEnumerable<ISuggestedAction>, SuggestedActionSetPriority, Nullable<Span>)
Obsolete.

Creates a new instance of the SuggestedActionSet for given list of suggested actions and optionally an applicable span of text.

SuggestedActionSet(IEnumerable<ISuggestedAction>, Object, SuggestedActionSetPriority, Nullable<Span>)
Obsolete.

Creates a new instance of the SuggestedActionSet for given list of suggested actions with a header and optionally an applicable span of text.

SuggestedActionSet(String, IEnumerable<ISuggestedAction>, Object, SuggestedActionSetPriority, Nullable<Span>)

Creates a new instance of the SuggestedActionSet for given list of suggested actions with a header and optionally an applicable span of text.

SuggestedActionSet(IEnumerable<ISuggestedAction>, SuggestedActionSetPriority, Nullable<Span>)

Caution

Use fully specified constructor instead

Creates a new instance of the SuggestedActionSet for given list of suggested actions and optionally an applicable span of text.

public SuggestedActionSet (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> actions, Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority priority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Microsoft.VisualStudio.Text.Span? applicableToSpan = default);
[System.Obsolete("Use fully specified constructor instead")]
public SuggestedActionSet (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> actions, Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority priority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Microsoft.VisualStudio.Text.Span? applicableToSpan = default);
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet : seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> * Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority * Nullable<Microsoft.VisualStudio.Text.Span> -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet
[<System.Obsolete("Use fully specified constructor instead")>]
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet : seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> * Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority * Nullable<Microsoft.VisualStudio.Text.Span> -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet
Public Sub New (actions As IEnumerable(Of ISuggestedAction), Optional priority As SuggestedActionSetPriority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Optional applicableToSpan As Nullable(Of Span) = Nothing)

Parameters

actions
IEnumerable<ISuggestedAction>

A list of suggested actions.

priority
SuggestedActionSetPriority

The SuggestedActionSetPriority value of this list of suggested actions

applicableToSpan
Nullable<Span>

The applicability span for this list of suggested actions.

Attributes

Applies to

SuggestedActionSet(IEnumerable<ISuggestedAction>, Object, SuggestedActionSetPriority, Nullable<Span>)

Caution

Use fully specified constructor instead

Creates a new instance of the SuggestedActionSet for given list of suggested actions with a header and optionally an applicable span of text.

public SuggestedActionSet (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> actions, object title, Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority priority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Microsoft.VisualStudio.Text.Span? applicableToSpan = default);
[System.Obsolete("Use fully specified constructor instead")]
public SuggestedActionSet (System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> actions, object title, Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority priority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Microsoft.VisualStudio.Text.Span? applicableToSpan = default);
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet : seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> * obj * Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority * Nullable<Microsoft.VisualStudio.Text.Span> -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet
[<System.Obsolete("Use fully specified constructor instead")>]
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet : seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> * obj * Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority * Nullable<Microsoft.VisualStudio.Text.Span> -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet
Public Sub New (actions As IEnumerable(Of ISuggestedAction), title As Object, Optional priority As SuggestedActionSetPriority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Optional applicableToSpan As Nullable(Of Span) = Nothing)

Parameters

actions
IEnumerable<ISuggestedAction>

A list of suggested actions.

title
Object

The title for this list of suggested actions.

priority
SuggestedActionSetPriority

The SuggestedActionSetPriority value of this list of suggested actions

applicableToSpan
Nullable<Span>

The applicability span for this list of suggested actions.

Attributes

Applies to

SuggestedActionSet(String, IEnumerable<ISuggestedAction>, Object, SuggestedActionSetPriority, Nullable<Span>)

Creates a new instance of the SuggestedActionSet for given list of suggested actions with a header and optionally an applicable span of text.

public SuggestedActionSet (string categoryName, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> actions, object title = default, Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority priority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Microsoft.VisualStudio.Text.Span? applicableToSpan = default);
new Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet : string * seq<Microsoft.VisualStudio.Language.Intellisense.ISuggestedAction> * obj * Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority * Nullable<Microsoft.VisualStudio.Text.Span> -> Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSet
Public Sub New (categoryName As String, actions As IEnumerable(Of ISuggestedAction), Optional title As Object = Nothing, Optional priority As SuggestedActionSetPriority = Microsoft.VisualStudio.Language.Intellisense.SuggestedActionSetPriority.None, Optional applicableToSpan As Nullable(Of Span) = Nothing)

Parameters

categoryName
String

The name of the ISuggestedActionCategory to which all of these actions belong.

actions
IEnumerable<ISuggestedAction>

A list of suggested actions.

title
Object

The title for this list of suggested actions.

priority
SuggestedActionSetPriority

The SuggestedActionSetPriority value of this list of suggested actions

applicableToSpan
Nullable<Span>

The applicability span for this list of suggested actions.

Applies to