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
- ConnectorEditor.cs
- AssemblyCollection.cs
- FontWeightConverter.cs
- Track.cs
- Animatable.cs
- NativeActivityFaultContext.cs
- LinqDataView.cs
- InstanceNotFoundException.cs
- BinaryObjectWriter.cs
- Point3DIndependentAnimationStorage.cs
- InkCanvas.cs
- OuterGlowBitmapEffect.cs
- XslUrlEditor.cs
- StrokeCollection.cs
- SessionEndedEventArgs.cs
- ToolStripItemRenderEventArgs.cs
- BookmarkNameHelper.cs
- InvokeGenerator.cs
- TemplatePropertyEntry.cs
- DataGridViewTopLeftHeaderCell.cs
- CodePrimitiveExpression.cs
- SourceElementsCollection.cs
- ScrollBarRenderer.cs
- GridLength.cs
- CurrentChangedEventManager.cs
- InkCanvas.cs
- CookielessHelper.cs
- CatalogPartDesigner.cs
- KnownTypeAttribute.cs
- IISMapPath.cs
- VersionPair.cs
- SourceElementsCollection.cs
- ColorMap.cs
- DetailsViewUpdateEventArgs.cs
- Translator.cs
- TableCell.cs
- LinkDescriptor.cs
- XmlBufferReader.cs
- MimeReflector.cs
- _HeaderInfoTable.cs
- ParseChildrenAsPropertiesAttribute.cs
- Transform3D.cs
- XmlLoader.cs
- WebErrorHandler.cs
- SoapHttpTransportImporter.cs
- BooleanAnimationUsingKeyFrames.cs
- XmlArrayItemAttributes.cs
- SQLInt16Storage.cs
- TreeNodeClickEventArgs.cs
- DocumentReferenceCollection.cs
- PackWebRequest.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- NetworkInterface.cs
- PathParser.cs
- UIElementHelper.cs
- Sql8ConformanceChecker.cs
- DropDownList.cs
- TableChangeProcessor.cs
- FactoryGenerator.cs
- SetIterators.cs
- NativeRightsManagementAPIsStructures.cs
- ReturnEventArgs.cs
- GenericsInstances.cs
- WaitHandleCannotBeOpenedException.cs
- ObjectToIdCache.cs
- RowSpanVector.cs
- sqlinternaltransaction.cs
- COM2EnumConverter.cs
- EventLogPermissionEntryCollection.cs
- ClientConfigurationHost.cs
- CompilerGeneratedAttribute.cs
- ExpandCollapsePattern.cs
- HtmlImage.cs
- SecurityCriticalDataForSet.cs
- infer.cs
- PointCollection.cs
- ICspAsymmetricAlgorithm.cs
- MonthCalendar.cs
- BindingRestrictions.cs
- _BufferOffsetSize.cs
- GetChildSubtree.cs
- XmlSiteMapProvider.cs
- GenerateHelper.cs
- XamlSerializer.cs
- StyleXamlParser.cs
- TreeView.cs
- HttpCacheVary.cs
- BufferedGraphicsManager.cs
- ColorDialog.cs
- SoundPlayer.cs
- StylusPoint.cs
- CustomPopupPlacement.cs
- CursorConverter.cs
- ContextQuery.cs
- PartialCachingControl.cs
- TabControl.cs
- WebPartZoneBase.cs
- QilIterator.cs
- HtmlForm.cs
- StrongNameUtility.cs