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
- HttpRawResponse.cs
- CatalogPartCollection.cs
- DataGrid.cs
- X509Certificate2.cs
- Vector3DAnimation.cs
- ForwardPositionQuery.cs
- UnsafeNetInfoNativeMethods.cs
- InheritanceRules.cs
- EntityViewGenerator.cs
- DesignerVerb.cs
- ActivityMarkupSerializationProvider.cs
- DateTimeParse.cs
- StatusBarPanelClickEvent.cs
- TemplateColumn.cs
- Journaling.cs
- PrinterResolution.cs
- ZipIOExtraField.cs
- DynamicRendererThreadManager.cs
- Renderer.cs
- OrderingQueryOperator.cs
- IsolatedStorageFile.cs
- RelatedView.cs
- XpsViewerException.cs
- IFlowDocumentViewer.cs
- ElementHost.cs
- BitmapEffectDrawing.cs
- CompilerTypeWithParams.cs
- Dynamic.cs
- SchemaTableOptionalColumn.cs
- ColorBuilder.cs
- TryExpression.cs
- SQLResource.cs
- WizardPanel.cs
- DbXmlEnabledProviderManifest.cs
- EntityChangedParams.cs
- Array.cs
- DbProviderManifest.cs
- SynchronizedDispatch.cs
- SettingsPropertyIsReadOnlyException.cs
- SiteIdentityPermission.cs
- Ref.cs
- IndexExpression.cs
- OneWayChannelListener.cs
- ObjectDataSourceSelectingEventArgs.cs
- AuthenticationConfig.cs
- BulletedList.cs
- StructuredTypeEmitter.cs
- XslException.cs
- Point3D.cs
- AppDomainProtocolHandler.cs
- MergeExecutor.cs
- WriteTimeStream.cs
- cookie.cs
- PatternMatcher.cs
- DefaultValueAttribute.cs
- CollectionContainer.cs
- Tablet.cs
- ThreadLocal.cs
- WebPartsSection.cs
- OleDbConnection.cs
- rsa.cs
- CodeAttributeArgumentCollection.cs
- WindowsClientElement.cs
- ObjectConverter.cs
- PropertyToken.cs
- DesignColumnCollection.cs
- StringKeyFrameCollection.cs
- GeneratedCodeAttribute.cs
- MailWriter.cs
- DescendentsWalkerBase.cs
- DataObjectAttribute.cs
- SByteConverter.cs
- BitmapMetadataBlob.cs
- InputScopeManager.cs
- HtmlEncodedRawTextWriter.cs
- XmlSchemaObjectTable.cs
- FrameSecurityDescriptor.cs
- CellQuery.cs
- XmlCountingReader.cs
- SqlXml.cs
- WebZone.cs
- ToolStripContentPanelRenderEventArgs.cs
- PolyLineSegment.cs
- Utilities.cs
- HTMLTagNameToTypeMapper.cs
- HttpHandlersSection.cs
- OpacityConverter.cs
- FixedSOMImage.cs
- MatrixAnimationUsingPath.cs
- Point3DValueSerializer.cs
- PointAnimationUsingPath.cs
- ScrollPattern.cs
- LongValidatorAttribute.cs
- GB18030Encoding.cs
- HttpServerUtilityBase.cs
- TextPatternIdentifiers.cs
- TypeToken.cs
- UrlMapping.cs
- FlatButtonAppearance.cs
- PopupRootAutomationPeer.cs