Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- sqlser.cs
- FloaterBaseParagraph.cs
- RelationshipSet.cs
- DesignDataSource.cs
- UTF8Encoding.cs
- WindowsGraphics.cs
- SocketCache.cs
- ClusterSafeNativeMethods.cs
- XmlCharType.cs
- SimpleBitVector32.cs
- ButtonStandardAdapter.cs
- KeyValueInternalCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WebPartCatalogCloseVerb.cs
- Expression.cs
- control.ime.cs
- MailWebEventProvider.cs
- HtmlFormParameterReader.cs
- ImageSourceConverter.cs
- SrgsGrammar.cs
- ParamArrayAttribute.cs
- OverflowException.cs
- PreviewPrintController.cs
- WindowsListViewGroupHelper.cs
- CheckBox.cs
- GeometryHitTestParameters.cs
- ValidateNames.cs
- Package.cs
- XmlBoundElement.cs
- NumberSubstitution.cs
- TextTreeText.cs
- SqlFacetAttribute.cs
- FlowDocumentScrollViewer.cs
- InfoCardSymmetricCrypto.cs
- BamlWriter.cs
- InvalidDataException.cs
- COM2ComponentEditor.cs
- ClientFormsAuthenticationCredentials.cs
- SudsCommon.cs
- SolidColorBrush.cs
- dataprotectionpermission.cs
- ObjectParameter.cs
- Behavior.cs
- APCustomTypeDescriptor.cs
- PackageStore.cs
- MarkedHighlightComponent.cs
- AppDomainShutdownMonitor.cs
- SerialPort.cs
- AssociationEndMember.cs
- LinkConverter.cs
- Effect.cs
- QueryCacheManager.cs
- ListView.cs
- ReadOnlyDictionary.cs
- CacheAxisQuery.cs
- Profiler.cs
- Viewport3DVisual.cs
- ExceptionHandlers.cs
- HttpCachePolicy.cs
- ContainerUtilities.cs
- Activator.cs
- Int64KeyFrameCollection.cs
- MembershipUser.cs
- HtmlGenericControl.cs
- XmlValueConverter.cs
- TailCallAnalyzer.cs
- SqlBooleanizer.cs
- WebControl.cs
- Underline.cs
- GridViewUpdateEventArgs.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- SystemIPv4InterfaceProperties.cs
- ObjectDataSourceStatusEventArgs.cs
- CharacterString.cs
- SelectionItemPattern.cs
- PathSegmentCollection.cs
- RestHandler.cs
- XmlAnyElementAttribute.cs
- LinkedResourceCollection.cs
- DataGridViewIntLinkedList.cs
- XPathDescendantIterator.cs
- CheckBoxFlatAdapter.cs
- DisplayInformation.cs
- MouseOverProperty.cs
- ListParagraph.cs
- ConstructorNeedsTagAttribute.cs
- EventLevel.cs
- GenericEnumerator.cs
- TransactedBatchContext.cs
- HorizontalAlignConverter.cs
- PartialList.cs
- GuidConverter.cs
- HtmlInputHidden.cs
- RbTree.cs
- NegotiateStream.cs
- _ListenerRequestStream.cs
- ProgressBar.cs
- SqlNotificationRequest.cs
- SkipQueryOptionExpression.cs
- AnnouncementEventArgs.cs