26 references to ExpressionHelper
System.Data (26)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentSearchableStringConverter.cs (1)
16results.Add(ExpressionHelper.GetExpressionString(((Argument)value).Expression));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Converters\VisualBasicValueSearchableStringConverter.cs (1)
24results.Add(ExpressionHelper.GetExpressionString(value as Activity));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (3)
26return ExpressionHelper.GetExpressionString(expression, null as ParserContext); 32return ExpressionHelper.GetExpressionString(expression, context); 166if ((isLocation) && (ExpressionHelper.IsGenericLocationExpressionType(originalExpression) && (targetType == resultType.GetGenericArguments()[0])) ||
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (4)
148if (assignActivity != null && !ExpressionHelper.IsGenericLocationExpressionType(expression)) 223bool isLocationExpression = ExpressionHelper.IsGenericLocationExpressionType(expression); 233canInferType = ExpressionHelper.TryInferReturnType(expression, context, out expectedReturnType); 236if (canInferType && expectedReturnType != null && ExpressionHelper.TryMorphExpression(expression, isLocationExpression, expectedReturnType, context, out morphedExpression))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NonTextualExpressionMorphHelper.cs (3)
31(ExpressionHelper.IsGenericLocationExpressionType(expression) == isLocationExpression)) 39string expressionEditor = ExpressionHelper.GetRootEditorSetting(context.Services.GetService<ModelTreeManager>(), WorkflowDesigner.GetTargetFramework(context)); 41string expressionText = ExpressionHelper.GetExpressionString(expression, parserContext);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ArgumentDesigner.xaml.cs (3)
1366currentExpressionText = ExpressionHelper.GetExpressionString(activity); 1416succeeded = ExpressionHelper.TryMorphExpression(currentArgument.Expression, false, newType, this.Context, out newExpression); 1424string rootEditorSetting = ExpressionHelper.GetRootEditorSetting(this.ModelTreeManager, WorkflowDesigner.GetTargetFramework(this.Context));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
827else if ((owner.UseLocationExpression) && (!ExpressionHelper.IsGenericLocationExpressionType(expression)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VariableDesigner.xaml.cs (1)
1239if (ExpressionHelper.TryMorphExpression(expression, false, type, this.Context, out morphedExpression))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (7)
310this.previousText = ExpressionHelper.GetExpressionString(expression, this.OwnerActivity); 1012newExpression = ExpressionHelper.TryCreateLiteral(type, expressionText, context); 1061literal = ExpressionHelper.TryCreateLiteral(context.ExpressionType, context.ExpressionText, context.ParserContext); 1110if (ExpressionHelper.TryMorphExpression(originalExpression, ExpressionHelper.IsGenericLocationExpressionType(originalExpression), typeof(object), context.EditingContext, out morphedExpression)) 1255expressionString = ExpressionHelper.GetExpressionString(expression, context); 1296(genericExpressionType == LiteralType && ExpressionHelper.CanTypeBeSerializedAsLiteral(expression.ResultType)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\VisualBasicExpressionMorphHelper.cs (2)
24if (ExpressionHelper.IsGenericLocationExpressionType(expression)) 58string expressionText = ExpressionHelper.GetExpressionString(expression);