7 types derived from Activity
System.Activities (6)
System\Activities\AsyncCodeActivity.cs (1)
301
public abstract class AsyncCodeActivity<TResult> :
Activity
<TResult>, IAsyncCodeActivity
System\Activities\CodeActivity.cs (1)
112
public abstract class CodeActivity<TResult> :
Activity
<TResult>
System\Activities\DynamicActivity.cs (1)
208
public sealed class DynamicActivity<TResult> :
Activity
<TResult>, ICustomTypeDescriptor, IDynamicActivity
System\Activities\Expressions\AndAlso.cs (1)
15
public sealed class AndAlso :
Activity
<bool>
System\Activities\Expressions\OrElse.cs (1)
15
public sealed class OrElse :
Activity
<bool>
System\Activities\NativeActivity.cs (1)
201
public abstract class NativeActivity<TResult> :
Activity
<TResult>, IInstanceUpdatable
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\ErrorActivity.cs (1)
83
internal class ErrorActivity<T> :
Activity
<T>
141 references to Activity
Microsoft.Activities.Build (1)
Microsoft\Activities\Build\Utilities.cs (1)
100
(type.BaseType.IsGenericType && type.BaseType.GetGenericTypeDefinition() == typeof(
Activity
<>))))
System.Activities (132)
System\Activities\Activity.cs (8)
1856
public static implicit operator
Activity
<TResult>(TResult constValue)
1861
public static implicit operator
Activity
<TResult>(Variable variable)
1866
public static implicit operator
Activity
<TResult>(Variable<TResult> variable)
1871
public static
Activity
<TResult> FromValue(TResult constValue)
1876
public static
Activity
<TResult> FromVariable(Variable variable)
1894
return (
Activity
<TResult>)ActivityUtilities.CreateVariableReference(variable);
1899
throw FxTrace.Exception.Argument("variable", SR.ConvertVariableToValueExpressionFailed(variable.GetType().FullName, typeof(
Activity
<TResult>).FullName));
1904
public static
Activity
<TResult> FromVariable(Variable<TResult> variable)
System\Activities\ActivityUtilities.cs (1)
24
static Type activityGenericType = typeof(
Activity
<>);
System\Activities\Debugger\DebugInfo.cs (4)
126
activityType = typeof(
Activity
<>).MakeGenericType(typeof(Location<>).MakeGenericType(locationValueType));
130
activityType = typeof(
Activity
<object>);
672
Activity
<Location<TLocationValue>> activity = expression as
Activity
<Location<TLocationValue>>;
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (1)
333
public void ScheduleActivity<TResult>(
Activity
<TResult> activity, CompletionCallback<TResult> onCompleted = null, FaultCallback onFaulted = null)
System\Activities\Expressions\AndAlso.cs (2)
48
public
Activity
<bool> Left
55
public
Activity
<bool> Right
System\Activities\Expressions\ExpressionServices.cs (64)
29
public static
Activity
<TResult> Convert<TResult>(Expression<Func<ActivityContext, TResult>> expression)
31
Activity
<TResult> result;
42
public static bool TryConvert<TResult>(Expression<Func<ActivityContext, TResult>> expression, out
Activity
<TResult> result)
52
static string TryConvert<TResult>(Expression body, bool throwOnError, out
Activity
<TResult> result)
149
public static
Activity
<Location<TResult>> ConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression)
151
Activity
<Location<TResult>> result;
163
public static bool TryConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression, out
Activity
<Location<TResult>> result)
173
static string TryConvertReference<TResult>(Expression body, bool throwOnError, out
Activity
<Location<TResult>> result)
238
static string TryConvertIndexerReference<TResult>(MethodCallExpression methodCallExpressionBody, bool throwOnError, out
Activity
<Location<TResult>> result)
257
result = parameters[2] as
Activity
<Location<TResult>>;
266
static string TryConvertIndexerReferenceWorker<TOperand, TResult>(MethodCallExpression methodCallExpressionBody, bool throwOnError, out
Activity
<Location<TResult>> result)
272
Activity
<TOperand> operand = null;
292
Activity
<Location<TOperand>> operandReference = null;
312
static string TryConvertMultiDimensionalArrayItemReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<Location<TResult>> result)
315
Activity
<Array> operand;
349
static string TryConvertVariableReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<Location<TResult>> result)
433
static string TryConvertArrayItemReference<TResult>(BinaryExpression binaryExpression, Type leftType, Type rightType, bool throwOnError, out
Activity
<Location<TResult>> result)
474
Activity
<TResult[]> array;
481
Activity
<int> index;
496
static string TryConvertVariableValue<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<TResult> result)
574
static string TryConvertDelegateArgumentValue<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<TResult> result)
629
static string TryConvertDelegateArgumentReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<Location<TResult>> result)
684
static string TryConvertArgumentValue<TResult>(MemberExpression memberExpression, bool throwOnError, out
Activity
<TResult> result)
748
static string TryConvertArgumentReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<Location<TResult>> result)
772
static string TryConvertBinaryExpression<TResult>(BinaryExpression binaryExpressionBody, Type leftType, Type rightType, bool throwOnError, out
Activity
<TResult> result)
779
result = parameters[2] as
Activity
<TResult>;
789
static string TryConvertArrayItemValue<TResult>(BinaryExpression binaryExpression, Type leftType, Type rightType, bool throwOnError, out
Activity
<TResult> result)
828
Activity
<TResult[]> array;
835
Activity
<int> index;
850
static string TryConvertBinaryExpressionWorker<TLeft, TRight, TResult>(BinaryExpression binaryExpressionBody, bool throwOnError, out
Activity
<TResult> result)
854
Activity
<TLeft> left;
860
Activity
<TRight> right;
905
object resultObject1 = new AndAlso() { Left = (
Activity
<bool>)leftObject1, Right = (
Activity
<bool>)rightObject1 };
906
result = (
Activity
<TResult>)resultObject1;
915
object resultObject2 = new OrElse() { Left = (
Activity
<bool>)leftObject2, Right = (
Activity
<bool>)rightObject2 };
916
result = (
Activity
<TResult>)resultObject2;
956
static string TryConvertUnaryExpression<TResult>(UnaryExpression unaryExpressionBody, Type operandType, bool throwOnError, out
Activity
<TResult> result)
963
result = parameters[2] as
Activity
<TResult>;
972
static string TryConvertUnaryExpressionWorker<TOperand, TResult>(UnaryExpression unaryExpressionBody, bool throwOnError, out
Activity
<TResult> result)
976
Activity
<TOperand> operand;
1016
static string TryConvertMemberExpression<TResult>(MemberExpression memberExpressionBody, Type operandType, bool throwOnError, out
Activity
<TResult> result)
1023
result = parameters[2] as
Activity
<TResult>;
1032
static string TryConvertMemberExpressionWorker<TOperand, TResult>(MemberExpression memberExpressionBody, bool throwOnError, out
Activity
<TResult> result)
1035
Activity
<TOperand> operand = null;
1079
static string TryConvertReferenceMemberExpression<TResult>(MemberExpression memberExpressionBody, Type operandType, bool throwOnError, out
Activity
<Location<TResult>> result)
1086
result = parameters[2] as
Activity
<Location<TResult>>;
1095
static string TryConvertReferenceMemberExpressionWorker<TOperand, TResult>(MemberExpression memberExpressionBody, bool throwOnError, out
Activity
<Location<TResult>> result)
1098
Activity
<TOperand> operand = null;
1099
Activity
<Location<TOperand>> operandReference = null;
1185
static string TryConvertOverloadingUnaryOperator<TOperand, TResult>(UnaryExpression unaryExpression,
Activity
<TOperand> operand, bool throwOnError, out
Activity
<TResult> result)
1209
static string TryConvertOverloadingBinaryOperator<TLeft, TRight, TResult>(BinaryExpression binaryExpression,
Activity
<TLeft> left,
Activity
<TRight> right, bool throwOnError, out
Activity
<TResult> result)
1233
static string TryConvertMethodCallExpression<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<TResult> result)
1330
static string TryConvertInvocationExpression<TResult>(InvocationExpression invocationExpression, bool throwOnError, out
Activity
<TResult> result)
1378
Activity
<Location<TArgument>> argument;
1390
Activity
<TArgument> argument;
1403
static string TryConvertNewExpression<TResult>(NewExpression newExpression, bool throwOnError, out
Activity
<TResult> result)
1433
static string TryConvertNewArrayExpression<TResult>(NewArrayExpression newArrayExpression, bool throwOnError, out
Activity
<TResult> result)
1484
static string TryConvertLocationReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<TResult> result)
1542
static string TryConvertReferenceLocationReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out
Activity
<Location<TResult>> result)
System\Activities\Expressions\OrElse.cs (2)
48
public
Activity
<bool> Left
55
public
Activity
<bool> Right
System\Activities\InArgument.cs (6)
100
public InArgument(
Activity
<T> expression)
114
public new
Activity
<T> Expression
134
if (value is
Activity
<T>)
136
this.Expression = (
Activity
<T>)value;
157
public static implicit operator InArgument<T>(
Activity
<T> expression)
185
public static InArgument<T> FromExpression(
Activity
<T> expression)
System\Activities\InOutArgument.cs (6)
74
public InOutArgument(
Activity
<Location<T>> expression)
87
public new
Activity
<Location<T>> Expression
107
Activity
<Location<T>> typedActivity = value as
Activity
<Location<T>>;
127
public static implicit operator InOutArgument<T>(
Activity
<Location<T>> expression)
142
public static InOutArgument<T> FromExpression(
Activity
<Location<T>> expression)
System\Activities\NativeActivityContext.cs (1)
1322
public ActivityInstance ScheduleActivity<TResult>(
Activity
<TResult> activity, CompletionCallback<TResult> onCompleted = null, FaultCallback onFaulted = null)
System\Activities\OutArgument.cs (6)
94
public OutArgument(
Activity
<Location<T>> expression)
107
public new
Activity
<Location<T>> Expression
127
if (value is
Activity
<Location<T>>)
129
this.Expression = (
Activity
<Location<T>>)value;
150
public static implicit operator OutArgument<T>(
Activity
<Location<T>> expression)
173
public static OutArgument<T> FromExpression(
Activity
<Location<T>> expression)
System\Activities\Runtime\ActivityExecutor.cs (1)
900
public T ExecuteInResolutionContext<T>(ActivityInstance parentInstance,
Activity
<T> expressionActivity)
System\Activities\Statements\DoWhile.cs (2)
41
public DoWhile(
Activity
<bool> condition)
76
public
Activity
<bool> Condition
System\Activities\Statements\FlowDecision.cs (2)
36
public FlowDecision(
Activity
<bool> condition)
48
public
Activity
<bool> Condition
System\Activities\Statements\FlowSwitch.cs (1)
29
public
Activity
<T> Expression
System\Activities\Statements\If.cs (1)
34
public If(
Activity
<bool> condition)
System\Activities\Statements\InternalState.cs (2)
392
Activity
<bool> condition = transition.Condition;
843
Activity
<bool> GetCondition(int triggerIndex, int conditionIndex)
System\Activities\Statements\Parallel.cs (1)
54
public
Activity
<bool> CompletionCondition
System\Activities\Statements\ParallelForEach.cs (1)
35
public
Activity
<bool> CompletionCondition
System\Activities\Statements\Switch.cs (1)
37
public Switch(
Activity
<T> expression)
System\Activities\Statements\Transition.cs (1)
37
public
Activity
<bool> Condition
System\Activities\Statements\TransitionData.cs (1)
29
public
Activity
<bool> Condition
System\Activities\Statements\While.cs (2)
41
public While(
Activity
<bool> condition)
76
public
Activity
<bool> Condition
System\Activities\Variable.cs (4)
274
Activity
<T> defaultExpression;
324
public new
Activity
<T> Default
354
if (value is
Activity
<T>)
356
this.defaultExpression = (
Activity
<T>)value;
System\Activities\WorkflowInvoker.cs (4)
113
public static TResult Invoke<TResult>(
Activity
<TResult> workflow)
121
public static TResult Invoke<TResult>(
Activity
<TResult> workflow, IDictionary<string, object> inputs)
129
public static TResult Invoke<TResult>(
Activity
<TResult> workflow, IDictionary<string, object> inputs, TimeSpan timeout)
140
public static TResult Invoke<TResult>(
Activity
<TResult> workflow, IDictionary<string, object> inputs, out IDictionary<string, object> additionalOutputs, TimeSpan timeout)
System\Activities\XamlIntegration\ActivityBuilderXamlWriter.cs (1)
362
activityXamlType = Writer.SchemaContext.GetXamlType(typeof(
Activity
<>).MakeGenericType(activityType));
System\Activities\XamlIntegration\ActivityWithResultConverter.cs (5)
25
: base(typeof(
Activity
<>), typeof(ExpressionConverterHelper<>))
30
: base(type, typeof(
Activity
<>), typeof(ExpressionConverterHelper<>))
81
internal sealed class ExpressionConverterHelper<T> : TypeConverterHelper<
Activity
<T>>
121
public override
Activity
<T> ConvertFromString(string text, ITypeDescriptorContext context)
131
return (
Activity
<T>)this.locationHelper.CreateExpression(expressionText);
System\Activities\XamlIntegration\DynamicActivityXamlReader.cs (1)
394
&& this.innerReader.Type.UnderlyingType.GetGenericTypeDefinition() == typeof(
Activity
<>))
System.Activities.Presentation (6)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\DesignTimeXamlWriter.cs (1)
164
(type.IsGeneric && type.UnderlyingType != null && type.UnderlyingType.GetGenericTypeDefinition() == typeof(
Activity
<>)) ||
System.Activities.Presentation\System\Activities\Presentation\DesignerMetadata.cs (2)
38
builder.AddCustomAttributes(typeof(
Activity
<>), new EditorAttribute(typeof(ExpressionValueEditor), typeof(PropertyValueEditor)));
42
builder.AddCustomAttributes(typeof(
Activity
<>), new EditorReuseAttribute(false));
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (2)
830
expression.GetType().FullName, typeof(
Activity
<Location>).FullName);
836
expression.GetType().FullName, typeof(
Activity
<>).MakeGenericType(owner.ExpressionType).FullName);
System.Activities.Presentation\System\Activities\Presentation\Xaml\ErrorTolerantObjectWriter.cs (1)
989
type.GetGenericTypeDefinition() == typeof(
Activity
<>));
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\MessagingActivityHelper.cs (2)
259
Activity
<CorrelationHandle> expression = obj as
Activity
<CorrelationHandle>;