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
- ConnectorDragDropGlyph.cs
- SignatureDescription.cs
- IndentTextWriter.cs
- ChangesetResponse.cs
- SEHException.cs
- HttpHandler.cs
- VirtualPath.cs
- ProviderUtil.cs
- ReceiveCompletedEventArgs.cs
- PartManifestEntry.cs
- RectIndependentAnimationStorage.cs
- SemanticResultKey.cs
- OutputCacheProfile.cs
- CodeGotoStatement.cs
- DataGridViewCheckBoxCell.cs
- IdnMapping.cs
- RuntimeWrappedException.cs
- XmlChoiceIdentifierAttribute.cs
- DrawingContext.cs
- X509SecurityTokenProvider.cs
- PolyLineSegment.cs
- SmiContext.cs
- DesignerMetadata.cs
- ClientEventManager.cs
- XmlEncoding.cs
- BaseConfigurationRecord.cs
- XhtmlTextWriter.cs
- Int64Storage.cs
- sitestring.cs
- SqlUtils.cs
- MimeMultiPart.cs
- QuaternionAnimationBase.cs
- DataGridAddNewRow.cs
- EntityProviderFactory.cs
- ValidationSummaryDesigner.cs
- ValidationRule.cs
- TabControlEvent.cs
- PromptEventArgs.cs
- BuildManagerHost.cs
- UdpTransportSettings.cs
- BuildResult.cs
- ExtendedPropertyCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- Accessors.cs
- RichTextBox.cs
- ErrorInfoXmlDocument.cs
- SecurityToken.cs
- EntityDataSourceChangedEventArgs.cs
- HttpProfileBase.cs
- ScrollItemPattern.cs
- FileDetails.cs
- LogReserveAndAppendState.cs
- Span.cs
- XmlElementAttributes.cs
- DesignObjectWrapper.cs
- Helper.cs
- MediaSystem.cs
- SqlUtils.cs
- ErrorEventArgs.cs
- Dispatcher.cs
- DurableErrorHandler.cs
- XmlAttributeAttribute.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- QueryOpeningEnumerator.cs
- CompositeControl.cs
- JsonCollectionDataContract.cs
- Style.cs
- CryptoConfig.cs
- SQLBytes.cs
- SizeAnimationUsingKeyFrames.cs
- RedBlackList.cs
- AssociationTypeEmitter.cs
- GridViewCommandEventArgs.cs
- AsyncPostBackErrorEventArgs.cs
- CommonDialog.cs
- ProviderSettings.cs
- TextBoxAutoCompleteSourceConverter.cs
- BindableAttribute.cs
- AmbientLight.cs
- ResourceWriter.cs
- MatrixTransform3D.cs
- TablePattern.cs
- EntityProviderServices.cs
- ChannelListenerBase.cs
- GlyphingCache.cs
- TextSchema.cs
- ServiceTimeoutsBehavior.cs
- RegexInterpreter.cs
- XhtmlBasicTextBoxAdapter.cs
- Msmq3PoisonHandler.cs
- WindowsGraphicsCacheManager.cs
- DataGridViewCellCancelEventArgs.cs
- SRDisplayNameAttribute.cs
- DNS.cs
- XmlBinaryWriterSession.cs
- PngBitmapEncoder.cs
- TransformProviderWrapper.cs
- ConfigurationProperty.cs
- CodeRemoveEventStatement.cs
- ToolBarPanel.cs