102 references to Helpers
System.Workflow.Activities (102)
Common\BasePropertyDescriptor.cs (2)
664
value =
Helpers
.GetDesignTimeTypeName(dependencyObject, key);
668
value =
Helpers
.GetDesignTimeTypeName(dependencyObject, key);
Common\CompModHelpers.cs (27)
240
if (compositeActivity2 == compositeActivity || !
Helpers
.IsCustomActivity(compositeActivity2))
463
Activity contextActivity =
Helpers
.ParseActivityForBind(activity, scopeID);
465
contextActivity =
Helpers
.ParseActivity(
Helpers
.GetRootActivity(activity), scopeID);
687
Helpers
.IsChildActivity(containedActivity as CompositeActivity, activity))
921
enclosingActivity =
Helpers
.GetDeclaringActivity(activity);
1103
if (nextActivity == null || !
Helpers
.IsActivityLocked(nextActivity))
1121
if (
Helpers
.IsActivityLocked(currentActivity))//.IsLocked)
1157
else if (
Helpers
.IsActivityLocked(context))
1163
Activity declaringActivity =
Helpers
.GetDeclaringActivity(context);
1183
activity =
Helpers
.ParseActivity(currentContextActivity, activityName);
1190
activity =
Helpers
.ParseActivity(declaringActivity, activityName);
1240
return (targetActivity == null) ?
Helpers
.ParseActivity(
Helpers
.GetRootActivity(context), activityName) : targetActivity;
1261
CompositeActivity declaringActivityOfCurrent =
Helpers
.GetDeclaringActivity(currentActivity);
1266
if (
Helpers
.IsActivityLocked(context) &&
1267
(declaringContext == null || !
Helpers
.IsCustomActivity(declaringContext))
1269
declaringContext =
Helpers
.GetDeclaringActivity(context);
1427
if (currentActivity == null && (parsingContext is CompositeActivity) && parsingContext.Parent != null &&
Helpers
.IsCustomActivity(parsingContext as CompositeActivity))
1434
if (!(currentActivity is CompositeActivity) || !
Helpers
.IsCustomActivity(currentActivity as CompositeActivity))
1442
if (nextActivity == null || !
Helpers
.IsActivityLocked(nextActivity))
1445
CompositeActivity declaringActivity =
Helpers
.GetDeclaringActivity(nextActivity);
1460
if (
Helpers
.IsActivityLocked(currentActivity))//.IsLocked)
1502
CompositeActivity declaringActivityOfCurrent =
Helpers
.GetDeclaringActivity(currentActivity);
1507
if (
Helpers
.IsActivityLocked(context) &&
1508
(declaringContext == null || !
Helpers
.IsCustomActivity(declaringContext))
1510
declaringContext =
Helpers
.GetDeclaringActivity(context);
Common\ValidationHelpers.cs (4)
124
if (activity is CompositeActivity && ((activity.Parent == null) || !
Helpers
.IsCustomActivity(activity as CompositeActivity)))
126
foreach (Activity child in
Helpers
.GetAllEnabledActivities((CompositeActivity)activity))
168
if (requestParent == null ||
Helpers
.IsAlternateFlowActivity(requestChild) ||
Helpers
.IsAlternateFlowActivity(responseChild))
Common\Walker.cs (1)
170
foreach (Activity activity2 in
Helpers
.GetAllEnabledActivities((CompositeActivity)activity))
ConstrainedGroup.cs (2)
173
Activity contextActivity =
Helpers
.ParseActivityForBind(activity, activityBind.Name);
174
if (contextActivity != null &&
Helpers
.IsChildActivity(activity.Parent, contextActivity))
CorrelationValidator.cs (10)
134
sourceActivity =
Helpers
.ParseActivityForBind(activity, correlator.OwnerActivityName);
270
sourceActivity =
Helpers
.ParseActivityForBind(activity, existingCorrelationTokenValue.OwnerActivityName);
347
owner =
Helpers
.ParseActivityForBind(currentActivity, ownerActivityName);
351
existingowner =
Helpers
.ParseActivityForBind(existingActivity, existingOwnerActivityName);
475
CorrelationParameterAttribute parameterAttribute =
Helpers
.GetAttributeFromObject<CorrelationParameterAttribute>(interfaceAttribute);
533
Type delegateType =
Helpers
.GetDelegateFromEvent((EventInfo)memberInfo);
573
if (memberInfo is EventInfo && ((Hashtable)delegateTypeCorrelationAliasAttrs[
Helpers
.GetDelegateFromEvent((EventInfo)memberInfo)])[paramName] != null)
598
if (memberInfo is EventInfo && ((Hashtable)delegateTypeCorrelationAliasAttrs[
Helpers
.GetDelegateFromEvent((EventInfo)memberInfo)])[paramName] != null)
658
Type delegateType =
Helpers
.GetDelegateFromEvent((EventInfo)memberInfo);
671
CorrelationAliasAttribute aliasAttribute =
Helpers
.GetAttributeFromObject<CorrelationAliasAttribute>(memberAttribute);
Designers\PolicyDesigner.cs (3)
41
if (
Helpers
.IsActivityLocked(activity))
44
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(this,
Helpers
.GetRootActivity(activity));
78
ConditionHelper.Flush_Rules_DT(this,
Helpers
.GetRootActivity(activity));
EventHandlingScope.cs (1)
282
if (!
Helpers
.IsFrameworkActivity(child) &&
Executors\Helpers.cs (1)
21
owner = System.Workflow.Activities.Common.
Helpers
.ParseActivityForBind(activity, ownerActivityId);
Policy.cs (2)
66
Activity declaringActivity =
Helpers
.GetDeclaringActivity(this);
68
declaringActivity =
Helpers
.GetRootActivity(this);
Rules\DeclarativeExpressionConditionDeclaration.cs (5)
265
Activity contextActivity = System.Workflow.Activities.Common.
Helpers
.GetEnclosingActivity(activity);
290
declaringActivity =
Helpers
.GetDeclaringActivity(activity);
293
declaringActivity =
Helpers
.GetRootActivity(activity) as CompositeActivity;
367
CompositeActivity declaringActivity =
Helpers
.GetDeclaringActivity(activity);
370
declaringActivity =
Helpers
.GetRootActivity(activity) as CompositeActivity;
Rules\Design\Dialogs\BasicBrowserDialog.cs (1)
318
ConditionHelper.Flush_Rules_DT(site,
Helpers
.GetRootActivity(this.activity));
Rules\Design\Dialogs\ConditionBrowserDialog.cs (1)
37
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(activity.Site,
Helpers
.GetRootActivity(activity));
Rules\Design\Dialogs\RuleSetBrowserDialog.cs (1)
26
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(activity.Site,
Helpers
.GetRootActivity(activity));
Rules\Design\LogicalExpressionEditor.cs (2)
47
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(serviceProvider,
Helpers
.GetRootActivity(baseActivity));
213
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(serviceProvider,
Helpers
.GetRootActivity(baseActivity));
Rules\Design\LogicalExpressionTypeConverter.cs (10)
34
Activity root =
Helpers
.GetRootActivity(activity);
38
Activity declaring =
Helpers
.GetDeclaringActivity(activity);
133
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
143
ConditionHelper.Flush_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
282
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
292
ConditionHelper.Flush_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
390
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
399
ConditionHelper.Flush_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
490
RuleDefinitions rules = ConditionHelper.Load_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
498
ConditionHelper.Flush_Rules_DT(site,
Helpers
.GetRootActivity(site.Component as Activity));
Rules\Helpers.cs (4)
31
if (
Helpers
.IsActivityLocked(currentActivity))
33
rootActivity =
Helpers
.GetDeclaringActivity(currentActivity);
37
rootActivity =
Helpers
.GetRootActivity(currentActivity);
161
using (XmlWriter xmlWriter =
Helpers
.CreateXmlWriter(ruleFileWriter))
Rules\RuleSetReference.cs (4)
73
CompositeActivity declaringActivity =
Helpers
.GetDeclaringActivity(ownerActivity);
76
declaringActivity =
Helpers
.GetRootActivity(ownerActivity) as CompositeActivity;
122
CompositeActivity declaringActivity =
Helpers
.GetDeclaringActivity(activity);
125
declaringActivity =
Helpers
.GetRootActivity(activity) as CompositeActivity;
WebServiceFault.cs (2)
179
if (
Helpers
.IsActivityLocked(webServiceFault))
253
MethodInfo methodInfo =
Helpers
.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName);
WebServiceReceive.cs (5)
456
MethodInfo method =
Helpers
.GetInterfaceMethod(type, this.MethodName);
484
if (
Helpers
.IsActivityLocked(webServiceReceive))
545
MethodInfo methodInfo =
Helpers
.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName);
664
CodeTypeDeclaration webServiceClass = CreateOrGetServiceDeclaration(
Helpers
.GetRootActivity(webserviceInput), codeNamespaces);
671
MethodInfo methodInfo =
Helpers
.GetInterfaceMethod(webserviceInput.InterfaceType, webserviceInput.MethodName);
WebServiceResponse.cs (14)
258
WebServiceInputActivity webServiceReceive =
Helpers
.ParseActivity(
Helpers
.GetRootActivity(this), this.InputActivityName) as WebServiceInputActivity;
268
MethodInfo method =
Helpers
.GetInterfaceMethod(type, webServiceReceive.MethodName);
304
if (
Helpers
.IsActivityLocked(webServiceResponse))
374
MethodInfo methodInfo =
Helpers
.GetInterfaceMethod(interfaceType, webServiceReceive.MethodName);
471
if (containedActivity is CompositeActivity && !
Helpers
.IsCustomActivity((CompositeActivity)containedActivity))
501
if (currentActivity is CompositeActivity &&
Helpers
.IsCustomActivity((CompositeActivity)currentActivity))
509
if (siblingActivity == currentActivity && ((currentActivity.Parent is ParallelActivity && !
Helpers
.IsFrameworkActivity(currentActivity)) || (currentActivity.Parent is StateActivity && !
Helpers
.IsFrameworkActivity(currentActivity))))
513
if (currentActivity.Parent is IfElseActivity && !
Helpers
.IsFrameworkActivity(currentActivity))
517
if (currentActivity.Parent is ListenActivity && !
Helpers
.IsFrameworkActivity(currentActivity))
541
if (siblingActivity is CompositeActivity && !
Helpers
.IsCustomActivity((CompositeActivity)siblingActivity) && (crossOverLoop || !IsLoopActivity(siblingActivity)))
629
if (currentActivity is CompositeActivity &&
Helpers
.IsCustomActivity((CompositeActivity)currentActivity))
649
if (siblingActivity is CompositeActivity && !
Helpers
.IsCustomActivity((CompositeActivity)siblingActivity))