Files
dotnet-bot 332534dede Adding reference source for part of Workflow Foundation
Adding reference source for
System.Activities
System.Activities.DurableInstancing
System.Activities.Presentation
System.Runtime.DurableInstancing
System.Workflow.Activities
System.Workflow.ComponentModel
System.Workflow.Runtime
System.WorkflowServices
System.Xaml.Hosting
XamlBuildTask
2016-05-03 00:07:54 +02:00

30 lines
1.3 KiB
C#

//-----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.Activities.XamlIntegration
{
using System;
using System.Activities;
using System.Activities.Expressions;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Runtime;
public interface ICompiledExpressionRoot
{
string GetLanguage();
[SuppressMessage(FxCop.Category.Design, FxCop.Rule.AvoidOutParameters, Justification = "Interface is intended to be implemented only by generated code and consumed only by internal code")]
bool CanExecuteExpression(string expressionText, bool isReference, IList<LocationReference> locations, out int expressionId);
object InvokeExpression(int expressionId, IList<LocationReference> locations, ActivityContext activityContext);
object InvokeExpression(int expressionId, IList<Location> locations);
IList<string> GetRequiredLocations(int expressionId);
Expression GetExpressionTreeForExpression(int expressionId, IList<LocationReference> locationReferences);
}
}