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
- OleDbDataAdapter.cs
- StringFreezingAttribute.cs
- MarginsConverter.cs
- WorkflowRuntimeServiceElement.cs
- XmlSchemaInferenceException.cs
- Debug.cs
- HttpProfileGroupBase.cs
- DataServiceRequestArgs.cs
- PackWebResponse.cs
- DynamicRenderer.cs
- ZipIOBlockManager.cs
- GroupBox.cs
- WasEndpointConfigContainer.cs
- XsdValidatingReader.cs
- ActiveXSite.cs
- OptimalTextSource.cs
- DirectoryObjectSecurity.cs
- cache.cs
- DesignerTextViewAdapter.cs
- DataGridViewImageCell.cs
- ComponentResourceManager.cs
- WeakReadOnlyCollection.cs
- ListViewItem.cs
- FileChangesMonitor.cs
- NamespaceDisplay.xaml.cs
- Signature.cs
- Vector3D.cs
- ComponentChangingEvent.cs
- SystemException.cs
- XmlILStorageConverter.cs
- MethodToken.cs
- XmlNodeWriter.cs
- XmlUTF8TextWriter.cs
- ConsoleCancelEventArgs.cs
- PropertyManager.cs
- precedingsibling.cs
- AssemblySettingAttributes.cs
- DigitShape.cs
- FrameworkElementFactory.cs
- LogReservationCollection.cs
- TrustLevelCollection.cs
- ReadOnlyKeyedCollection.cs
- OAVariantLib.cs
- TableProviderWrapper.cs
- Rectangle.cs
- WindowInteropHelper.cs
- UnauthorizedAccessException.cs
- ExpressionBindingCollection.cs
- DrawingAttributesDefaultValueFactory.cs
- ProxyGenerator.cs
- QilInvokeEarlyBound.cs
- KeyEventArgs.cs
- Expression.cs
- EntityUtil.cs
- Visitors.cs
- EntityDataSourceWrapperCollection.cs
- ActivityTypeDesigner.xaml.cs
- DataColumnMappingCollection.cs
- SelfSignedCertificate.cs
- WebPartConnectionsCancelVerb.cs
- UpdateManifestForBrowserApplication.cs
- RelationalExpressions.cs
- DataKeyCollection.cs
- InkPresenterAutomationPeer.cs
- XmlSerializerAssemblyAttribute.cs
- SoapExtensionReflector.cs
- X500Name.cs
- PathNode.cs
- QueryPageSettingsEventArgs.cs
- InboundActivityHelper.cs
- _UriTypeConverter.cs
- EncryptedPackage.cs
- DefaultValueAttribute.cs
- ThreadAbortException.cs
- TreeNodeClickEventArgs.cs
- SoapTypeAttribute.cs
- Attachment.cs
- ActivationArguments.cs
- BuildProvider.cs
- MatrixTransform.cs
- ChangeNode.cs
- GridViewColumn.cs
- AttributeParameterInfo.cs
- Pair.cs
- CfgArc.cs
- StaticResourceExtension.cs
- sqlcontext.cs
- HttpCookiesSection.cs
- WorkflowPrinting.cs
- ConnectionInterfaceCollection.cs
- PluralizationService.cs
- TrackBarRenderer.cs
- TableDetailsCollection.cs
- ModelTreeManager.cs
- SafeLibraryHandle.cs
- ScrollItemPattern.cs
- LookupBindingPropertiesAttribute.cs
- ReliableChannelListener.cs
- DoubleCollection.cs
- SoapAttributes.cs