Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackPointCollection.cs / 1305376 / TrackPointCollection.cs
using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Text; using System.Xml; using System.Xml.Schema; using System.IO; using System.Reflection; using System.Diagnostics; using System.Runtime.Serialization; using System.Security.Permissions; using System.Globalization; //using System.Workflow.Activities; using System.Workflow.ComponentModel; using System.Workflow.Runtime; using System.Workflow.Runtime.Hosting; using Hosting = System.Workflow.Runtime.Hosting; namespace System.Workflow.Runtime.Tracking { ////// Used by TrackingProfile to hold ActivityTrackPoints. /// [Serializable] public class ActivityTrackPointCollection : List{ public ActivityTrackPointCollection() { } public ActivityTrackPointCollection(IEnumerable points) { // // Not using the IEnumerable constructor on the base List so that we can check for null. // The code behind AddRange doesn't appear to have a significant perf // overhead compared to the IEnumerable constructor if the list is empty // (which it will always be at this point). if (null == points) throw new ArgumentNullException("points"); AddRange(points); } } /// /// Used by TrackingProfile to hold UserTrackPoints. /// [Serializable] public class UserTrackPointCollection : List{ public UserTrackPointCollection() { } public UserTrackPointCollection(IEnumerable points) { // // Not using the IEnumerable constructor on the base List so that we can check for null. // The code behind AddRange doesn't appear to have a significant perf // overhead compared to the IEnumerable constructor if the list is empty // (which it will always be at this point). if (null == points) throw new ArgumentNullException("points"); AddRange(points); } } /// /// Used by TrackingProfile to hold ActivityTrackPoints. /// [Serializable] public class WorkflowTrackPointCollection : List{ public WorkflowTrackPointCollection() { } public WorkflowTrackPointCollection(IEnumerable points) { // // Not using the IEnumerable constructor on the base List so that we can check for null. // The code behind AddRange doesn't appear to have a significant perf // overhead compared to the IEnumerable constructor if the list is empty // (which it will always be at this point). if (null == points) throw new ArgumentNullException("points"); AddRange(points); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlDataSourceFilteringEventArgs.cs
- ParameterCollectionEditor.cs
- SQLInt32Storage.cs
- IInstanceTable.cs
- BuildProvider.cs
- WindowVisualStateTracker.cs
- EventTrigger.cs
- SynchronizationContextHelper.cs
- ElementAction.cs
- MessageRpc.cs
- InternalDispatchObject.cs
- SelectionEditingBehavior.cs
- LockCookie.cs
- HttpCachePolicy.cs
- SmiXetterAccessMap.cs
- SymDocumentType.cs
- MULTI_QI.cs
- FontDialog.cs
- Console.cs
- GrammarBuilderRuleRef.cs
- DependencyPropertyAttribute.cs
- AccessorTable.cs
- SmiConnection.cs
- OdbcRowUpdatingEvent.cs
- ColorAnimationBase.cs
- AttributeExtensions.cs
- NullRuntimeConfig.cs
- GlyphElement.cs
- ACL.cs
- PipeConnection.cs
- PersonalizablePropertyEntry.cs
- HelpEvent.cs
- GeometryModel3D.cs
- DataColumn.cs
- XPathException.cs
- PersistNameAttribute.cs
- BitmapMetadataEnumerator.cs
- LoopExpression.cs
- ProfileParameter.cs
- HttpPostedFile.cs
- ScriptReferenceEventArgs.cs
- HtmlTitle.cs
- TypeBinaryExpression.cs
- ObjectDataSourceFilteringEventArgs.cs
- FontFamily.cs
- OletxTransactionManager.cs
- WindowsSpinner.cs
- IISMapPath.cs
- WpfPayload.cs
- MetadataCache.cs
- ImageSourceConverter.cs
- DesignerVerb.cs
- WebPartZoneBaseDesigner.cs
- MediaPlayerState.cs
- TCEAdapterGenerator.cs
- ClientOptions.cs
- SqlPersistenceProviderFactory.cs
- WebPartDisplayModeCancelEventArgs.cs
- HttpResponseHeader.cs
- FlowDocumentReader.cs
- ConcurrentDictionary.cs
- SecurityAlgorithmSuite.cs
- NativeMethods.cs
- DataGridViewColumnHeaderCell.cs
- TextElement.cs
- IDispatchConstantAttribute.cs
- TabPanel.cs
- SystemWebCachingSectionGroup.cs
- VolatileResourceManager.cs
- RTLAwareMessageBox.cs
- ProfileGroupSettingsCollection.cs
- UnmanagedHandle.cs
- ToolStripRenderEventArgs.cs
- EpmSyndicationContentSerializer.cs
- _TimerThread.cs
- TCPListener.cs
- NullableConverter.cs
- DbMetaDataCollectionNames.cs
- PrivilegeNotHeldException.cs
- ToolStripItemImageRenderEventArgs.cs
- ValidatedControlConverter.cs
- ParseHttpDate.cs
- InstanceOwnerQueryResult.cs
- Transform.cs
- RepeatInfo.cs
- SoapReflectionImporter.cs
- ConsumerConnectionPoint.cs
- ImageField.cs
- AssemblyBuilderData.cs
- MarkerProperties.cs
- DbBuffer.cs
- ScaleTransform.cs
- MenuItemStyle.cs
- VisualTransition.cs
- CultureTableRecord.cs
- CroppedBitmap.cs
- MessageQueue.cs
- DbProviderConfigurationHandler.cs
- DomainUpDown.cs
- SafeCancelMibChangeNotify.cs