RemoteValue CreateMockVariable() { RemoteValue mockVariable = Substitute.For <RemoteValue>(); mockVariable.TypeIsPointerType().Returns(false); mockVariable.GetValueForExpressionPath(Arg.Any <string>()).Returns((RemoteValue)null); return(mockVariable); }
public IVariableInformation GetValueForExpressionPath(VsExpression vsExpression) { RemoteValue expressionValue = _remoteValue.GetValueForExpressionPath(vsExpression.Value); if (expressionValue == null) { return(null); } return(_varInfoBuilder.Create(expressionValue, formatSpecifier: vsExpression.FormatSpecifier)); }
public RemoteValue GetValueForExpressionPath(string expressionPath) => remoteProxy.GetValueForExpressionPath(expressionPath);
public virtual RemoteValue GetValueForExpressionPath(string expressionPath) { return(value.GetValueForExpressionPath(expressionPath)); }