Share via


InitialTrigger Struct

Definition

What triggered the completion, but not where it happened. The reason we don't expose location is that for each extension, we map the point to a buffer with matching content type.

public value class InitialTrigger : IEquatable<Microsoft::VisualStudio::Language::Intellisense::AsyncCompletion::Data::InitialTrigger>
[System.Diagnostics.DebuggerDisplay("{Reason} {Character}")]
public struct InitialTrigger : IEquatable<Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Data.InitialTrigger>
[<System.Diagnostics.DebuggerDisplay("{Reason} {Character}")>]
type InitialTrigger = struct
Public Structure InitialTrigger
Implements IEquatable(Of InitialTrigger)
Inheritance
InitialTrigger
Attributes
Implements

Constructors

InitialTrigger(InitialTriggerReason)

Creates a InitialTrigger not associated with a text edit

InitialTrigger(InitialTriggerReason, Char)

Creates a InitialTrigger associated with a text edit

Properties

Character

The text edit associated with the triggering action.

Reason

The reason that completion was started.

Methods

Equals(Object)
GetHashCode()

Operators

Equality(InitialTrigger, InitialTrigger)
Inequality(InitialTrigger, InitialTrigger)

Explicit Interface Implementations

IEquatable<InitialTrigger>.Equals(InitialTrigger)

Applies to