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