Share via


SuggestionAcceptedEventArgs Constructor

Definition

Event args for SuggestionAccepted. Raised whenever the user accepts a proposal (causing the suggestion session to end).

public SuggestionAcceptedEventArgs (string providerName, Microsoft.VisualStudio.Text.Editor.ITextView view, Microsoft.VisualStudio.Language.Proposals.ProposalBase originalProposal, Microsoft.VisualStudio.Language.Proposals.ProposalBase finalProposal, Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept reason);
new Microsoft.VisualStudio.Language.Suggestions.SuggestionAcceptedEventArgs : string * Microsoft.VisualStudio.Text.Editor.ITextView * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Proposals.ProposalBase * Microsoft.VisualStudio.Language.Suggestions.ReasonForAccept -> Microsoft.VisualStudio.Language.Suggestions.SuggestionAcceptedEventArgs
Public Sub New (providerName As String, view As ITextView, originalProposal As ProposalBase, finalProposal As ProposalBase, reason As ReasonForAccept)

Parameters

providerName
String
view
ITextView
originalProposal
ProposalBase
finalProposal
ProposalBase

Applies to