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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlElement.cs
- KerberosSecurityTokenAuthenticator.cs
- BinaryWriter.cs
- BinHexEncoding.cs
- DetailsViewRow.cs
- IxmlLineInfo.cs
- OdbcErrorCollection.cs
- KeyboardDevice.cs
- ObjectDataSourceSelectingEventArgs.cs
- WindowsPen.cs
- StringExpressionSet.cs
- StringUtil.cs
- ChangeConflicts.cs
- GreenMethods.cs
- OperatingSystemVersionCheck.cs
- AttributeCollection.cs
- InputEventArgs.cs
- HttpHeaderCollection.cs
- WizardForm.cs
- OciHandle.cs
- Serializer.cs
- EntityStoreSchemaGenerator.cs
- SecureStringHasher.cs
- GrammarBuilderWildcard.cs
- AutomationTextAttribute.cs
- _LocalDataStore.cs
- ComponentDispatcher.cs
- X500Name.cs
- SchemaMapping.cs
- TextChange.cs
- StaticResourceExtension.cs
- OracleString.cs
- SymmetricAlgorithm.cs
- Double.cs
- RequestBringIntoViewEventArgs.cs
- SR.cs
- precedingsibling.cs
- SamlAdvice.cs
- SqlCommandBuilder.cs
- UnaryExpressionHelper.cs
- Pool.cs
- LocalizationParserHooks.cs
- InputQueue.cs
- SafeReversePInvokeHandle.cs
- WindowsTooltip.cs
- HostingEnvironmentException.cs
- XamlTypeWithExplicitNamespace.cs
- ComponentEditorForm.cs
- SchemaDeclBase.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- CodeComment.cs
- DataServiceExpressionVisitor.cs
- CollectionBuilder.cs
- AccessorTable.cs
- AddressHeaderCollection.cs
- MinimizableAttributeTypeConverter.cs
- XmlWellformedWriter.cs
- StatusStrip.cs
- BCryptSafeHandles.cs
- ISO2022Encoding.cs
- CodeIdentifiers.cs
- StrokeCollection.cs
- CryptoKeySecurity.cs
- _TLSstream.cs
- SQLDateTimeStorage.cs
- ParallelTimeline.cs
- MexHttpsBindingCollectionElement.cs
- StreamInfo.cs
- Table.cs
- UrlRoutingHandler.cs
- DebugInfoGenerator.cs
- TcpStreams.cs
- ByteStreamGeometryContext.cs
- NativeMethods.cs
- Line.cs
- CallContext.cs
- OleDbCommandBuilder.cs
- SafeNativeMethods.cs
- AsymmetricKeyExchangeFormatter.cs
- ToolBarOverflowPanel.cs
- SecureStringHasher.cs
- CryptoHelper.cs
- WebBaseEventKeyComparer.cs
- StaticSiteMapProvider.cs
- Semaphore.cs
- DeclaredTypeElementCollection.cs
- MetadataCache.cs
- QueryPageSettingsEventArgs.cs
- Floater.cs
- NameValueFileSectionHandler.cs
- RelatedImageListAttribute.cs
- XmlSchemaAnnotation.cs
- DataSourceExpressionCollection.cs
- DateTimeFormat.cs
- PageSettings.cs
- XPathItem.cs
- EventRouteFactory.cs
- Schedule.cs
- XmlWriterTraceListener.cs
- WindowsImpersonationContext.cs