コード例 #1
0
        RemoteValue CreateMockVariable()
        {
            RemoteValue mockVariable = Substitute.For <RemoteValue>();

            mockVariable.TypeIsPointerType().Returns(false);
            mockVariable.GetValueForExpressionPath(Arg.Any <string>()).Returns((RemoteValue)null);
            return(mockVariable);
        }
コード例 #2
0
ファイル: Variables.cs プロジェクト: googlestadia/vsi-lldb
        public IVariableInformation GetValueForExpressionPath(VsExpression vsExpression)
        {
            RemoteValue expressionValue =
                _remoteValue.GetValueForExpressionPath(vsExpression.Value);

            if (expressionValue == null)
            {
                return(null);
            }

            return(_varInfoBuilder.Create(expressionValue,
                                          formatSpecifier: vsExpression.FormatSpecifier));
        }
コード例 #3
0
 public RemoteValue GetValueForExpressionPath(string expressionPath) =>
 remoteProxy.GetValueForExpressionPath(expressionPath);
コード例 #4
0
 public virtual RemoteValue GetValueForExpressionPath(string expressionPath)
 {
     return(value.GetValueForExpressionPath(expressionPath));
 }