예제 #1
0
        public async Task <IVariableInformation> CreateValueFromExpressionAsync(string displayName,
                                                                                VsExpression
                                                                                vsExpression)
        {
            RemoteValue expressionValue =
                await _remoteValue.CreateValueFromExpressionAsync(displayName, vsExpression.Value);

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

            return(_varInfoBuilder.Create(expressionValue,
                                          formatSpecifier: vsExpression.FormatSpecifier));
        }
예제 #2
0
 CreateValueFromExpressionAsync(string name, string expression) =>
 await remoteProxy.CreateValueFromExpressionAsync(name, expression);
예제 #3
0
 public async Task <RemoteValue> CreateValueFromExpressionAsync(string name,
                                                                string expression) => await value.CreateValueFromExpressionAsync(name, expression);