IDotNetContext Interface
Provides the base requirements for information about a .NET language context of a certain offset within an ITextSnapshot.
public interface IDotNetContext
Properties
ArgumentIndex
The index of the current argument, if known, when the context is for the containing invocation.
ArgumentListSnapshotOffset
The TextSnapshotOffset of the argument list, if known, when the context is for the containing invocation.
ArgumentSnapshotOffset
The TextSnapshotOffset of the current argument, if known, when the context is for the containing invocation.
ContainingAstNode
The IAstNode that contains the SnapshotOffset.
ContainingAstTypeDeclaration
The AST TypeDeclaration that contains the SnapshotOffset, if any.
InitializationSnapshotRange
The TextSnapshotRange with which the context was initialized.
Kind
The DotNetContextKind indicating the kind of context.
Location
An optional IDotNetContextLocation that provides more location information about the context.
ProjectAssembly
The IProjectAssembly with which this context is associated.
SnapshotOffset
The TextSnapshotOffset for which this context was created.
TargetExpression
The target AST Expression for the context, if known.
TargetSnapshotOffset
The TextSnapshotOffset, if known, against which to use as context for the resolver.
Methods
Resolve()
The IResolver on the ProjectAssembly to return an IResolverResultSet.