Code:
/ 4.0 / 4.0 / 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. 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
- XPathDescendantIterator.cs
- GenericUriParser.cs
- ClientConfigPaths.cs
- DbParameterHelper.cs
- xmlfixedPageInfo.cs
- QueryException.cs
- EventEntry.cs
- OverflowException.cs
- ExpressionEditorAttribute.cs
- SqlNodeAnnotations.cs
- PackWebRequest.cs
- XsltOutput.cs
- MultiSelectRootGridEntry.cs
- XmlUrlResolver.cs
- MouseButton.cs
- SrgsElement.cs
- ButtonBaseAdapter.cs
- ZipIOLocalFileDataDescriptor.cs
- CalendarData.cs
- DynamicActivityProperty.cs
- DbProviderServices.cs
- ValueTypeFieldReference.cs
- QilList.cs
- FontWeightConverter.cs
- Int32Animation.cs
- Policy.cs
- RecognitionEventArgs.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- Terminate.cs
- WindowsStartMenu.cs
- WebHttpSecurityElement.cs
- SecureStringHasher.cs
- ProcessThread.cs
- PointIndependentAnimationStorage.cs
- RowBinding.cs
- ParallelTimeline.cs
- LocalizationParserHooks.cs
- ConstantSlot.cs
- SymbolType.cs
- ExceptionList.cs
- StandardMenuStripVerb.cs
- XslAstAnalyzer.cs
- iisPickupDirectory.cs
- TiffBitmapDecoder.cs
- XmlDocumentSchema.cs
- PEFileReader.cs
- Figure.cs
- Trace.cs
- ConnectionProviderAttribute.cs
- WindowsFormsSectionHandler.cs
- BamlStream.cs
- MetadataPropertyvalue.cs
- ProxySimple.cs
- XamlSerializationHelper.cs
- AnnotationAdorner.cs
- DbException.cs
- WebPartsSection.cs
- XmlReaderSettings.cs
- CompositeKey.cs
- DataList.cs
- User.cs
- HttpListenerPrefixCollection.cs
- HashFinalRequest.cs
- VectorAnimation.cs
- EntityDataSourceView.cs
- XdrBuilder.cs
- XmlNodeChangedEventManager.cs
- CompModSwitches.cs
- UniqueCodeIdentifierScope.cs
- RadialGradientBrush.cs
- XmlNodeList.cs
- DefaultParameterValueAttribute.cs
- Bold.cs
- AutoScrollExpandMessageFilter.cs
- XmlDataSourceDesigner.cs
- XmlSchemaSimpleTypeRestriction.cs
- DocumentApplicationJournalEntry.cs
- PrintDocument.cs
- SafeThemeHandle.cs
- CreateUserWizardStep.cs
- ReachVisualSerializer.cs
- ButtonStandardAdapter.cs
- BaseComponentEditor.cs
- SqlConnectionHelper.cs
- WebResponse.cs
- TextTreeTextElementNode.cs
- AnimationLayer.cs
- OdbcEnvironmentHandle.cs
- WindowsSysHeader.cs
- XPathSingletonIterator.cs
- BitmapMetadataBlob.cs
- XmlNamespaceMappingCollection.cs
- OSFeature.cs
- NamespaceList.cs
- BamlResourceDeserializer.cs
- PageCopyCount.cs
- LineInfo.cs
- Header.cs
- ServiceDebugBehavior.cs
- SqlNodeAnnotation.cs