Esempio n. 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));
        }
Esempio n. 2
0
 CreateValueFromExpressionAsync(string name, string expression) =>
 await remoteProxy.CreateValueFromExpressionAsync(name, expression);
 public async Task <RemoteValue> CreateValueFromExpressionAsync(string name,
                                                                string expression) => await value.CreateValueFromExpressionAsync(name, expression);