IDkmClrResultProvider Interface

Definition

Provides DkmEvaluationResults given DkmClrValues. Compiler vendors can implement this interface to change the way values are expanded and presented to the user.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: CompilerVendorId, LanguageId, SymbolProviderId.

This API was introduced in Visual Studio 14 RTM (DkmApiVersion.VS14RTM).

public interface class IDkmClrResultProvider
public interface class IDkmClrResultProvider
__interface IDkmClrResultProvider
public interface IDkmClrResultProvider
type IDkmClrResultProvider = interface
Public Interface IDkmClrResultProvider

Methods

GetChildren(DkmEvaluationResult, DkmWorkList, Int32, DkmInspectionContext, DkmCompletionRoutine<DkmGetChildrenAsyncResult>)

Gets an enumeration context used to obtain the children of this evaluation result. This is used in all expression evaluation windows.

GetClrValue(DkmSuccessEvaluationResult)

Gets the underlying DkmClrValue from a DkmSuccessEvaluationResult, if it exists.

GetItems(DkmEvaluationResultEnumContext, DkmWorkList, Int32, Int32, DkmCompletionRoutine<DkmEvaluationEnumAsyncResult>)

Obtain DkmEvaluationResult items from this enumeration context. This is used to obtain local variables of a stack frame or child members from an evaluation result.

GetResult(DkmClrValue, DkmWorkList, DkmClrType, DkmClrCustomTypeInfo, DkmInspectionContext, ReadOnlyCollection<String>, String, String, DkmCompletionRoutine<DkmEvaluationAsyncResult>)

Format a DkmClrValue and return a DkmEvaluationResult.

GetUnderlyingString(DkmEvaluationResult)

This method is used for evaluation results that include DkmEvaluationResultFlags.RawString to obtain the the underlying string, with no enclosing quotes or escape sequences. This is method is invoked to display one of the various string visualizers in an expression evaluation window (click the magnifying glass icon).

Applies to