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
- FrameworkContentElementAutomationPeer.cs
- ListViewAutomationPeer.cs
- CounterSample.cs
- IPEndPoint.cs
- TileBrush.cs
- IISMapPath.cs
- SwitchCase.cs
- Command.cs
- StringAnimationUsingKeyFrames.cs
- HebrewCalendar.cs
- MDIWindowDialog.cs
- XmlSerializerAssemblyAttribute.cs
- Misc.cs
- ThreadPool.cs
- TypeGenericEnumerableViewSchema.cs
- WinFormsSecurity.cs
- DecimalStorage.cs
- DataGridViewLinkCell.cs
- InsufficientExecutionStackException.cs
- WindowsTab.cs
- OracleInternalConnection.cs
- PermissionAttributes.cs
- StopStoryboard.cs
- StringCollectionMarkupSerializer.cs
- TargetConverter.cs
- XslAstAnalyzer.cs
- CompensationDesigner.cs
- XsdBuildProvider.cs
- ObjectViewListener.cs
- UInt32Converter.cs
- KeyBinding.cs
- ByteStreamMessageEncoder.cs
- SrgsElementFactoryCompiler.cs
- RegexCompiler.cs
- AggregateException.cs
- SystemDropShadowChrome.cs
- Button.cs
- MemberHolder.cs
- ObjectAnimationBase.cs
- CodeStatement.cs
- ToolStripDesigner.cs
- _ListenerResponseStream.cs
- LocationUpdates.cs
- PageAsyncTask.cs
- ObjectView.cs
- RequestQueryProcessor.cs
- StringFunctions.cs
- Pen.cs
- DispatcherSynchronizationContext.cs
- DaylightTime.cs
- SecurityTokenTypes.cs
- OptimalTextSource.cs
- ThicknessAnimationUsingKeyFrames.cs
- DataMisalignedException.cs
- ContextQuery.cs
- CounterSampleCalculator.cs
- ComponentManagerBroker.cs
- StreamReader.cs
- SqlPersonalizationProvider.cs
- _NegotiateClient.cs
- KeyPullup.cs
- RectConverter.cs
- MemberNameValidator.cs
- DesignerCategoryAttribute.cs
- ExpressionNode.cs
- HexParser.cs
- SchemaImporterExtensionElement.cs
- MsmqIntegrationMessageProperty.cs
- DataTableReaderListener.cs
- Serialization.cs
- Accessible.cs
- M3DUtil.cs
- WsdlWriter.cs
- AppSecurityManager.cs
- SearchExpression.cs
- CompositionTarget.cs
- DelayedRegex.cs
- ExceptionUtility.cs
- DataGridViewControlCollection.cs
- Style.cs
- DependencyObjectPropertyDescriptor.cs
- XmlAnyAttributeAttribute.cs
- SqlDependencyListener.cs
- WebPartManager.cs
- StickyNoteContentControl.cs
- NetSectionGroup.cs
- PropertyEntry.cs
- ICspAsymmetricAlgorithm.cs
- DataGridViewAccessibleObject.cs
- XsdDateTime.cs
- PathFigureCollectionConverter.cs
- ObjectListFieldCollection.cs
- LinqDataView.cs
- XmlReaderSettings.cs
- RenderTargetBitmap.cs
- ObjectConverter.cs
- CodeTypeMember.cs
- PrintPreviewDialog.cs
- SharedStatics.cs
- DataGridViewColumnEventArgs.cs