示例#1
0
        public async Task <IVariableInformation> EvaluateExpressionAsync(string displayName,
                                                                         VsExpression vsExpression)
        {
            RemoteValue resultValue =
                await _remoteValue.EvaluateExpressionAsync(vsExpression.Value);

            return(resultValue == null
                       ? null
                       : _varInfoBuilder.Create(resultValue, displayName,
                                                formatSpecifier: vsExpression.FormatSpecifier));
        }
示例#2
0
 public async Task <RemoteValue> EvaluateExpressionAsync(string expression) =>
 await remoteProxy.EvaluateExpressionAsync(expression);