string IDkmClrFormatter.GetUnderlyingString( DkmClrValue clrValue, DkmInspectionContext inspectionContext ) { return(clrValue.GetUnderlyingString(inspectionContext)); }
/// <summary> /// This method is called by the debug engine to get the raw string to show in the /// string/xml/html visualizer. /// </summary> /// <param name="clrValue">The raw value to get the text for</param> /// <param name="inspectionContext">Context of the evaluation. This contains options/flags /// to be used during compilation. It also contains the InspectionSession. The inspection /// session is the object that provides lifetime management for our objects. When the user /// steps or continues the process, the debug engine will dispose of the inspection session</param> /// <returns>Raw underlying string</returns> string IDkmClrFormatter.GetUnderlyingString(DkmClrValue clrValue, DkmInspectionContext inspectionContext) { // Get the raw string to show in the string/xml/html visualizer. // The C# behavior is good enough for our purposes. return(clrValue.GetUnderlyingString(inspectionContext)); }