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
- ToolStripDropDownClosingEventArgs.cs
- CacheMode.cs
- AllMembershipCondition.cs
- WpfSharedXamlSchemaContext.cs
- HebrewNumber.cs
- BuildTopDownAttribute.cs
- ListBox.cs
- FormViewPageEventArgs.cs
- LockedAssemblyCache.cs
- StylusDevice.cs
- RuntimeCompatibilityAttribute.cs
- MetafileHeader.cs
- TypeInitializationException.cs
- DataGridSortCommandEventArgs.cs
- ControlValuePropertyAttribute.cs
- Compiler.cs
- ConditionalExpression.cs
- EventOpcode.cs
- CharConverter.cs
- CharacterMetricsDictionary.cs
- AsyncOperationLifetimeManager.cs
- InstanceData.cs
- PluralizationServiceUtil.cs
- TransportChannelListener.cs
- ElementsClipboardData.cs
- WinInetCache.cs
- PopOutPanel.cs
- JapaneseCalendar.cs
- Schema.cs
- SelectionItemPattern.cs
- ZipIOExtraField.cs
- DbDataReader.cs
- MultiDataTrigger.cs
- IdentifierElement.cs
- ControlBuilderAttribute.cs
- oledbconnectionstring.cs
- SvcFileManager.cs
- MobileRedirect.cs
- HttpException.cs
- OracleBFile.cs
- GlobalDataBindingHandler.cs
- WindowsSpinner.cs
- HtmlSelect.cs
- HttpAsyncResult.cs
- AnnouncementEndpoint.cs
- XmlFormatReaderGenerator.cs
- Operators.cs
- DbExpressionRules.cs
- CustomExpression.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TimeoutValidationAttribute.cs
- XappLauncher.cs
- Util.cs
- ServiceOperation.cs
- TypeNameHelper.cs
- WinEventWrap.cs
- DeferredReference.cs
- ListControl.cs
- ProgressiveCrcCalculatingStream.cs
- BitArray.cs
- ResolveNameEventArgs.cs
- BitmapImage.cs
- Mutex.cs
- CanonicalFontFamilyReference.cs
- ProgressChangedEventArgs.cs
- XPathAncestorQuery.cs
- EntityDataSourceWizardForm.cs
- XmlResolver.cs
- NativeMethods.cs
- CharacterMetrics.cs
- TdsParserStateObject.cs
- LinkConverter.cs
- DateTimeOffsetStorage.cs
- DynamicILGenerator.cs
- Utils.cs
- StylusTip.cs
- TreeNodeClickEventArgs.cs
- MemberDescriptor.cs
- TextBoxBase.cs
- AssemblySettingAttributes.cs
- ConfigXmlSignificantWhitespace.cs
- WpfPayload.cs
- DataSourceListEditor.cs
- XD.cs
- ClrPerspective.cs
- Vector.cs
- _LocalDataStoreMgr.cs
- XPathNodePointer.cs
- XmlDataSourceNodeDescriptor.cs
- Timer.cs
- PropertyGroupDescription.cs
- PerformanceCounterLib.cs
- ScriptComponentDescriptor.cs
- SoapInteropTypes.cs
- Atom10FormatterFactory.cs
- PathHelper.cs
- TypeContext.cs
- MethodExpr.cs
- UInt32Converter.cs
- XmlReflectionMember.cs