Implemented interface member:
property
Count
System.Collections.ICollection.Count
21 references to Count
System.Workflow.Activities (4)
Common\CompModHelpers.cs (1)
1053
if (activity != null && activity.Activities.
Count
> 0)
Designers\StateDesigner.cs (1)
2023
(state.Activities.
Count
== 0);
StateValidator.cs (2)
86
if (state.Activities.
Count
> 0)
229
if (state.Activities.
Count
> 0)
System.Workflow.ComponentModel (17)
AuthoringOM\ActivitiesCollection.cs (3)
231
for (int index = 0; index < this.
Count
; index++)
261
return this.
Count
- 1;
333
for (int loop = 0; loop < this.
Count
; loop++)
AuthoringOM\Activity.cs (2)
2116
if (this.Activities.
Count
> 0)
2171
if (index >= this.activities.
Count
)
AuthoringOM\Design\CompositeActivityDesigner.cs (1)
1527
if (index < 0 || index >= compositeActivity.Activities.
Count
)
AuthoringOM\Design\CustomActivityDesigner.cs (3)
158
if (rootActivity != null && rootActivity.Activities.
Count
== 0)
181
if (compositeActivity != null && compositeActivity.Activities.
Count
> 0)
316
if (host.RootComponent is CompositeActivity && ((CompositeActivity)host.RootComponent).Activities.
Count
> 0)
AuthoringOM\Design\DesignerInterfaces.cs (1)
682
return compositeActivity.Activities.
Count
;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
991
while (rootDecl.Activities.
Count
> 0)
1050
previewActivity = (rootDecl.Activities.
Count
> 0 && !dummyPreview) ? rootDecl.Activities[0] : rootDecl;
AuthoringOM\Design\FreeFormDesigner.cs (1)
883
CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, ((CompositeActivity)Activity).Activities.
Count
), activitiesToInsert.AsReadOnly(), SR.GetString(SR.DragDropActivities));
AuthoringOM\Design\ParallelActivityDesigner.cs (1)
472
CompositeActivityDesigner.InsertActivities(this, new ConnectorHitTestInfo(this, HitTestLocations.Designer, compositeActivity.Activities.
Count
), new List<Activity>(new Activity[] { branchActivity }).AsReadOnly(), DR.GetString(DR.AddingBranch, branchActivity.GetType().Name));
AuthoringOM\ScheduleChanges.cs (1)
869
if (this.removedActivityIndex >= ownerActivity.Activities.
Count
)
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (1)
240
instanceActivity.UserData[UserDataKeys.CustomActivity] = (instanceActivity.Activities.
Count
> 0);
Shared\CompModHelpers.cs (1)
1051
if (activity != null && activity.Activities.
Count
> 0)