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
- PriorityQueue.cs
- StorageMappingItemLoader.cs
- TimeZoneNotFoundException.cs
- UrlAuthFailedErrorFormatter.cs
- CodeTypeConstructor.cs
- InvalidEnumArgumentException.cs
- CaseCqlBlock.cs
- EntitySetRetriever.cs
- CustomAttribute.cs
- MouseGesture.cs
- CalendarModeChangedEventArgs.cs
- XmlWriterSettings.cs
- Int16Converter.cs
- HostedTcpTransportManager.cs
- odbcmetadatafactory.cs
- CodeDOMUtility.cs
- TrackingLocationCollection.cs
- Variant.cs
- ProjectionCamera.cs
- QilStrConcat.cs
- Terminate.cs
- DataGridTable.cs
- sqlcontext.cs
- TableLayoutStyleCollection.cs
- StructuredTypeEmitter.cs
- GenerateScriptTypeAttribute.cs
- EventToken.cs
- TextEditorCopyPaste.cs
- HelpInfo.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- InternalTypeHelper.cs
- DebugView.cs
- FontFamilyConverter.cs
- WebPartZoneBaseDesigner.cs
- XmlILConstructAnalyzer.cs
- Soap.cs
- XmlSchemaAnnotated.cs
- TextViewElement.cs
- ArrayTypeMismatchException.cs
- PropertyDescriptor.cs
- RegionIterator.cs
- EntityCollection.cs
- DirectoryNotFoundException.cs
- UpnEndpointIdentity.cs
- XsltQilFactory.cs
- AssemblyBuilderData.cs
- ECDiffieHellmanCngPublicKey.cs
- SharedUtils.cs
- CellTreeNode.cs
- EventPrivateKey.cs
- Win32SafeHandles.cs
- ConfigXmlCDataSection.cs
- XsdBuildProvider.cs
- TimeManager.cs
- WebBrowserHelper.cs
- DesignerActionUIService.cs
- Journal.cs
- AssertFilter.cs
- DispatchChannelSink.cs
- ImpersonationContext.cs
- ListViewPagedDataSource.cs
- DocumentSchemaValidator.cs
- safesecurityhelperavalon.cs
- SplitterCancelEvent.cs
- EndCreateSecurityTokenRequest.cs
- GroupBox.cs
- ApplyTemplatesAction.cs
- HtmlContainerControl.cs
- UserNamePasswordValidationMode.cs
- UidPropertyAttribute.cs
- MessageQueuePermission.cs
- UTF32Encoding.cs
- FillErrorEventArgs.cs
- RequestUriProcessor.cs
- ProfileSettings.cs
- SQLInt16Storage.cs
- SoapIgnoreAttribute.cs
- TableColumn.cs
- EasingKeyFrames.cs
- UnhandledExceptionEventArgs.cs
- AssemblyAttributesGoHere.cs
- TableCell.cs
- BaseInfoTable.cs
- PointAnimationClockResource.cs
- ScrollProviderWrapper.cs
- DataKey.cs
- TextDecorationLocationValidation.cs
- ProfileService.cs
- BackgroundFormatInfo.cs
- ThreadInterruptedException.cs
- SchemaObjectWriter.cs
- TransformPattern.cs
- PropertyValueChangedEvent.cs
- DropDownHolder.cs
- CopyNodeSetAction.cs
- NetStream.cs
- CachedFontFamily.cs
- MappingModelBuildProvider.cs
- MessageParameterAttribute.cs
- DelegatingConfigHost.cs