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
- MemberHolder.cs
- EdmEntityTypeAttribute.cs
- FileDialog_Vista_Interop.cs
- CheckBoxList.cs
- SafeCoTaskMem.cs
- ServiceBusyException.cs
- ListSortDescriptionCollection.cs
- MenuAutoFormat.cs
- DataTableMappingCollection.cs
- NetworkInterface.cs
- MachineSettingsSection.cs
- CryptoSession.cs
- SqlNamer.cs
- UpdatableGenericsFeature.cs
- UITypeEditor.cs
- PageHandlerFactory.cs
- OneWayElement.cs
- PublishLicense.cs
- SmiMetaDataProperty.cs
- IncomingWebRequestContext.cs
- Partitioner.cs
- DataGridViewDesigner.cs
- Variant.cs
- CompositionCommandSet.cs
- DefaultParameterValueAttribute.cs
- WindowsServiceCredential.cs
- Stopwatch.cs
- PriorityBindingExpression.cs
- TextChange.cs
- Rotation3DAnimation.cs
- FilteredXmlReader.cs
- DocumentsTrace.cs
- SqlDataSourceStatusEventArgs.cs
- ContractTypeNameElement.cs
- SerializationException.cs
- DataControlField.cs
- WinFormsSecurity.cs
- ListSortDescription.cs
- StopStoryboard.cs
- CollectionViewGroupInternal.cs
- GridToolTip.cs
- XPathSelectionIterator.cs
- ResourceSet.cs
- DetectRunnableInstancesTask.cs
- ObjectViewListener.cs
- Cursors.cs
- FunctionNode.cs
- Visual3D.cs
- JoinGraph.cs
- GenericUriParser.cs
- InvalidEnumArgumentException.cs
- PeerNameRecordCollection.cs
- SecurityState.cs
- InternalSafeNativeMethods.cs
- Overlapped.cs
- RegexWorker.cs
- SecurityDescriptor.cs
- RepeaterCommandEventArgs.cs
- Pool.cs
- RectAnimationUsingKeyFrames.cs
- ExpressionEditor.cs
- PageThemeParser.cs
- DataKeyCollection.cs
- RegexWriter.cs
- Transform3D.cs
- RightsManagementUser.cs
- WindowsAltTab.cs
- CheckBox.cs
- TransformerTypeCollection.cs
- GetResponse.cs
- PeerNameResolver.cs
- XPathAncestorQuery.cs
- ColumnClickEvent.cs
- ExpressionBuilder.cs
- XmlAtomicValue.cs
- InputBinder.cs
- XsdCachingReader.cs
- Activity.cs
- ObjectItemNoOpAssemblyLoader.cs
- TransformGroup.cs
- Parameter.cs
- Invariant.cs
- UnsafePeerToPeerMethods.cs
- MemoryStream.cs
- DelegateBodyWriter.cs
- ETagAttribute.cs
- TextLine.cs
- TrustManagerPromptUI.cs
- ProfileService.cs
- SynchronizationContext.cs
- BounceEase.cs
- DataServiceKeyAttribute.cs
- TextPointer.cs
- metadatamappinghashervisitor.cs
- ObjectTokenCategory.cs
- SQLDecimalStorage.cs
- OdbcStatementHandle.cs
- ECDsaCng.cs
- TreeViewAutomationPeer.cs
- SystemShuttingDownException.cs