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
- UnhandledExceptionEventArgs.cs
- ImageBrush.cs
- PropertyContainer.cs
- ItemTypeToolStripMenuItem.cs
- SqlDependencyListener.cs
- AutomationPropertyInfo.cs
- Privilege.cs
- ColorContextHelper.cs
- BorderSidesEditor.cs
- ToolboxItemCollection.cs
- Identifier.cs
- ObjectAssociationEndMapping.cs
- StyleBamlRecordReader.cs
- BaseProcessProtocolHandler.cs
- ListView.cs
- SingleAnimation.cs
- StateWorkerRequest.cs
- PersonalizationStateInfoCollection.cs
- FlowLayoutPanel.cs
- SafeNativeMemoryHandle.cs
- UnsafeNativeMethods.cs
- DropSource.cs
- Crc32Helper.cs
- XmlSiteMapProvider.cs
- ComplexBindingPropertiesAttribute.cs
- ExtenderProviderService.cs
- RegexWorker.cs
- PropertyChangedEventArgs.cs
- ConstrainedGroup.cs
- App.cs
- ADMembershipProvider.cs
- COM2ExtendedBrowsingHandler.cs
- MobileListItem.cs
- EdgeModeValidation.cs
- ExpressionEvaluator.cs
- LineBreakRecord.cs
- RepeatBehavior.cs
- DynamicResourceExtensionConverter.cs
- BindingRestrictions.cs
- BaseValidator.cs
- basecomparevalidator.cs
- ImageAnimator.cs
- ThreadBehavior.cs
- EnumValAlphaComparer.cs
- FileDialogCustomPlaces.cs
- CapabilitiesPattern.cs
- EventlogProvider.cs
- MessagePropertyFilter.cs
- PictureBox.cs
- CharacterString.cs
- TCPListener.cs
- SolidColorBrush.cs
- NewExpression.cs
- ErrorStyle.cs
- DescendentsWalkerBase.cs
- WindowsListViewGroupSubsetLink.cs
- HashStream.cs
- DoWhile.cs
- UdpSocketReceiveManager.cs
- XmlElementAttributes.cs
- StylusPlugin.cs
- XomlCompilerResults.cs
- MenuItemAutomationPeer.cs
- DateTimeOffset.cs
- ScrollBar.cs
- unsafenativemethodstextservices.cs
- Lasso.cs
- WebPartTransformer.cs
- FontCacheUtil.cs
- DataRow.cs
- WizardPanel.cs
- ToolbarAUtomationPeer.cs
- datacache.cs
- HttpHandlerAction.cs
- ObjectStorage.cs
- XmlSchemaSequence.cs
- MediaEntryAttribute.cs
- SelectionChangedEventArgs.cs
- LinqToSqlWrapper.cs
- DataGridViewCellLinkedList.cs
- CancellationState.cs
- GraphicsState.cs
- WhitespaceSignificantCollectionAttribute.cs
- QilStrConcat.cs
- StringWriter.cs
- TextViewSelectionProcessor.cs
- RawStylusInputCustomData.cs
- RegexRunner.cs
- WriterOutput.cs
- DesignerInterfaces.cs
- InkCanvasFeedbackAdorner.cs
- UpdatePanelTrigger.cs
- RangeValueProviderWrapper.cs
- AsyncOperationManager.cs
- DataObjectEventArgs.cs
- MetadataUtil.cs
- Win32.cs
- PreProcessor.cs
- AppearanceEditorPart.cs
- XmlILOptimizerVisitor.cs