99 references to ReceiveActivity
System.WorkflowServices (99)
System\Workflow\Activities\ContextToken.cs (2)
250
internal static void Register(
ReceiveActivity
activity, Guid workflowId)
290
static void RegisterReceiveContext(
ReceiveActivity
activity,
System\Workflow\Activities\Design\ServiceOperationUIEditor.cs (5)
26
bool isReceiveActivity = activity is
ReceiveActivity
;
36
allowedActivityType = typeof(
ReceiveActivity
);
56
if (foundActivity is
ReceiveActivity
)
58
ReceiveActivity
reciveActivity = foundActivity as
ReceiveActivity
;
System\Workflow\Activities\DynamicContractTypeBuilder.cs (3)
29
public static Type GetContractType(OperationInfo operationInfo,
ReceiveActivity
contextActivity)
90
ReceiveActivity
currentActivity = args.CurrentActivity as
ReceiveActivity
;
System\Workflow\Activities\OperationInfo.cs (2)
208
Type contractType = DynamicContractTypeBuilder.GetContractType(this, this.ParentDependencyObject as
ReceiveActivity
);
217
contractType = DynamicContractTypeBuilder.GetContractType(this, this.ParentDependencyObject as
ReceiveActivity
);
System\Workflow\Activities\ReceiveActivity.cs (51)
34
[ToolboxBitmap(typeof(
ReceiveActivity
), "Design.Resources.ReceiveActivity.png")]
47
typeof(
ReceiveActivity
),
54
typeof(
ReceiveActivity
));
59
typeof(WorkflowServiceAttributes), typeof(
ReceiveActivity
),
61
ReceiveActivity
.GetWorkflowServiceAttributesValueOverride, null),
68
typeof(
ReceiveActivity
),
75
typeof(
ReceiveActivity
),
82
typeof(
ReceiveActivity
),
89
typeof(
ReceiveActivity
),
95
typeof(
ReceiveActivity
));
100
typeof(
ReceiveActivity
));
105
typeof(
ReceiveActivity
),
120
base.SetReadOnlyPropertyValue(
ReceiveActivity
.ParameterBindingsProperty,
127
base.SetReadOnlyPropertyValue(
ReceiveActivity
.ParameterBindingsProperty,
155
return ((bool)(base.GetValue(
ReceiveActivity
.CanCreateInstanceProperty)));
159
base.SetValue(
ReceiveActivity
.CanCreateInstanceProperty, value);
171
return
ReceiveActivity
.GetRootContext(this);
173
return
ReceiveActivity
.GetContext(this, this.ContextToken);
204
return ((FaultException)base.GetValue(
ReceiveActivity
.FaultMessageProperty));
209
base.SetValue(
ReceiveActivity
.FaultMessageProperty, value);
220
return ((WorkflowParameterBindingCollection)(base.GetValue(
ReceiveActivity
.ParameterBindingsProperty)));
233
return ((OperationInfoBase)(base.GetValue(
ReceiveActivity
.ServiceOperationInfoProperty)));
237
OperationInfoBase currentValue = ((OperationInfoBase)(base.GetValue(
ReceiveActivity
.ServiceOperationInfoProperty)));
268
base.SetValue(
ReceiveActivity
.ServiceOperationInfoProperty, value);
278
return ((WorkflowRequestContext)(base.GetValue(
ReceiveActivity
.RequestContextProperty)));
282
base.SetValue(
ReceiveActivity
.RequestContextProperty, value);
288
get { return this.GetValue(
ReceiveActivity
.QueueNameProperty) as string; }
317
return (QueueInitializationMode)base.GetValue(
ReceiveActivity
.QueueInitializationModeProperty);
321
base.SetValue(
ReceiveActivity
.QueueInitializationModeProperty, value);
399
return (dependencyObject as DependencyObject).GetValue(
ReceiveActivity
.WorkflowServiceAttributesProperty);
416
(dependencyObject as DependencyObject).SetValue(
ReceiveActivity
.WorkflowServiceAttributesProperty, value);
801
new ParameterInfoBasedPropertyDescriptor(typeof(
ReceiveActivity
),
1083
ReceiveActivity
definition = definitionRoot.GetActivityByName(this.QualifiedName, true) as
ReceiveActivity
;
1217
if (activity.GetValueBase(
ReceiveActivity
.WorkflowServiceAttributesProperty) == null)
1235
activity.SetValue(
ReceiveActivity
.WorkflowServiceAttributesProperty, workflowServiceAttribsValue);
1239
return activity.GetValueBase(
ReceiveActivity
.WorkflowServiceAttributesProperty);
1318
this.GetValue(
ReceiveActivity
.QueueNameProperty) as string;
1326
+ this.GetValue(
ReceiveActivity
.QueueNameProperty) as string;
1336
this.GetValue(
ReceiveActivity
.QueueNameProperty) as string);
1367
public ReceiveOperationInfoHelper(IServiceProvider serviceProvider,
ReceiveActivity
activity)
1447
public object GetOutputs(
ReceiveActivity
activity, out object[] outputs)
1494
public void PopulateInputs(
ReceiveActivity
activity, ReadOnlyCollection<object> inputs)
1538
ReceiveActivity
receiveActivity;
1540
internal SecurityShim(
ReceiveActivity
receiveActivity)
1575
ReceiveActivity
.OperationValidationEvent);
1595
ReceiveActivity
receiveActivity;
1597
internal ValidationShim(
ReceiveActivity
receiveActivity, IActivityEventListener<QueueEventArgs> activityEventListener)
1697
internal static bool EvaluateSecurityConstraints(IServiceProvider serviceProvider,
ReceiveActivity
receiveActivity, WorkflowRequestContext requestContext)
1719
ReceiveActivity
.OperationValidationEvent);
1727
receiveActivity.RaiseGenericEvent(
ReceiveActivity
.OperationValidationEvent,
System\Workflow\Activities\ReceiveActivityDesigner.cs (19)
23
static ActivityComparer<
ReceiveActivity
> matchByContractCallback;
24
static ActivityComparer<
ReceiveActivity
> matchByOperationCallback;
61
ActivityDesignerVerb findSimilarOperationsVerb = new FindSimilarActivitiesVerb<
ReceiveActivity
>(
65
ActivityDesignerVerb findSimilarContractVerb = new FindSimilarActivitiesVerb<
ReceiveActivity
>(
73
static ActivityComparer<
ReceiveActivity
> MatchByContractCallback
79
matchByContractCallback = new ActivityComparer<
ReceiveActivity
>(MatchByContract);
85
static ActivityComparer<
ReceiveActivity
> MatchByOperationCallback
91
matchByOperationCallback = new ActivityComparer<
ReceiveActivity
>(MatchByOperation);
97
ReceiveActivity
ReceiveActivity
99
get { return this.Activity as
ReceiveActivity
; }
153
if (e.Member != null && e.Member.Name ==
ReceiveActivity
.ServiceOperationInfoProperty.Name)
155
ReceiveActivity
receiveActivity = e.Activity as
ReceiveActivity
;
205
ReceiveActivity
receiveActivity = this.Activity as
ReceiveActivity
;
212
static bool MatchByContract(
ReceiveActivity
source,
ReceiveActivity
target)
217
static bool MatchByOperation(
ReceiveActivity
source,
ReceiveActivity
target)
System\Workflow\Activities\ReceiveActivityValidator.cs (3)
21
ReceiveActivity
receiveActivity = obj as
ReceiveActivity
;
25
SR2.GetString(SR2.Error_ArgumentTypeInvalid, "obj", typeof(
ReceiveActivity
)));
System\Workflow\Activities\SendActivity.cs (1)
480
new ParameterInfoBasedPropertyDescriptor(typeof(
ReceiveActivity
),
System\Workflow\Activities\ServiceOperationHelpers.cs (2)
52
if (activity is
ReceiveActivity
)
54
return TypeDescriptor.GetProperties(activity)[
ReceiveActivity
.ServiceOperationInfoProperty.Name];
System\Workflow\Activities\ValidationHelper.cs (9)
103
WorkflowServiceAttributes serviceAttributes = (WorkflowServiceAttributes)
ReceiveActivity
.GetWorkflowServiceAttributes(rootActivity);
125
foreach (
ReceiveActivity
receiveActivity in GetActivities<
ReceiveActivity
>(rootActivity))
179
foreach (
ReceiveActivity
receiveActivity in GetActivities<
ReceiveActivity
>(rootActivity))
959
else if (ownerActivity is
ReceiveActivity
)
1032
else if (activity is
ReceiveActivity
)
1034
ReceiveActivity
receiveActivity = activity as
ReceiveActivity
;
System\Workflow\Activities\WorkflowServiceAttributesPropertyProviderExtender.cs (2)
27
return activity.GetValue(
ReceiveActivity
.WorkflowServiceAttributesProperty) as WorkflowServiceAttributes;
32
activity.SetValue(
ReceiveActivity
.WorkflowServiceAttributesProperty, value);