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
- AdjustableArrowCap.cs
- FormatterServices.cs
- GridViewCommandEventArgs.cs
- CookieProtection.cs
- RoutedEventConverter.cs
- DateTimeValueSerializerContext.cs
- RichTextBox.cs
- SqlDependencyListener.cs
- HtmlTernaryTree.cs
- SqlBuilder.cs
- _KerberosClient.cs
- cache.cs
- XmlSchemaAnyAttribute.cs
- BitmapSizeOptions.cs
- DataBoundLiteralControl.cs
- NavigationProperty.cs
- DrawingAttributes.cs
- LinqDataSourceHelper.cs
- _NegoStream.cs
- TraceHandler.cs
- MessageQueueEnumerator.cs
- CqlGenerator.cs
- WizardForm.cs
- SmtpLoginAuthenticationModule.cs
- Keywords.cs
- XmlIlVisitor.cs
- RubberbandSelector.cs
- CapabilitiesSection.cs
- GreenMethods.cs
- FilteredDataSetHelper.cs
- ToolStripItemClickedEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- ChangeTracker.cs
- EmptyReadOnlyDictionaryInternal.cs
- SecurityPermission.cs
- SafeNativeMethods.cs
- ReadOnlyTernaryTree.cs
- WorkflowRuntimeService.cs
- ThumbAutomationPeer.cs
- FormsAuthenticationModule.cs
- XmlDictionaryWriter.cs
- DirectoryInfo.cs
- HostSecurityManager.cs
- ImmutablePropertyDescriptorGridEntry.cs
- OdbcDataReader.cs
- DataListCommandEventArgs.cs
- Random.cs
- BuildProvider.cs
- SubMenuStyleCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ColorBlend.cs
- CategoryNameCollection.cs
- ResourcePermissionBase.cs
- KeyedCollection.cs
- WebReferencesBuildProvider.cs
- Triangle.cs
- Composition.cs
- SortQuery.cs
- UnescapedXmlDiagnosticData.cs
- ImageSourceValueSerializer.cs
- CellQuery.cs
- Timer.cs
- TreeNode.cs
- Header.cs
- DocumentViewerHelper.cs
- ByteConverter.cs
- MetadataArtifactLoaderResource.cs
- SimpleParser.cs
- AssociationTypeEmitter.cs
- DataGridLength.cs
- WindowsFont.cs
- TrustManager.cs
- DBCommand.cs
- BamlRecordReader.cs
- EastAsianLunisolarCalendar.cs
- RewritingSimplifier.cs
- log.cs
- ConfigurationConverterBase.cs
- AttributeCollection.cs
- EventLogEntryCollection.cs
- ObjectListCommandEventArgs.cs
- Helpers.cs
- DataObjectSettingDataEventArgs.cs
- FixedFlowMap.cs
- BamlRecordReader.cs
- SupportingTokenParameters.cs
- ConfigurationException.cs
- HttpModuleActionCollection.cs
- FrameDimension.cs
- TdsParserSafeHandles.cs
- CqlBlock.cs
- EntityContainer.cs
- ListViewGroup.cs
- Decimal.cs
- SingleObjectCollection.cs
- DynamicRenderer.cs
- SupportsPreviewControlAttribute.cs
- LostFocusEventManager.cs
- PrivilegeNotHeldException.cs
- SoapIgnoreAttribute.cs