Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingLocationCollection.cs / 1305376 / TrackingLocationCollection.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 ActivityTrackingLocations.
///
[Serializable]
public class ActivityTrackingLocationCollection : List
{
public ActivityTrackingLocationCollection()
{
}
public ActivityTrackingLocationCollection(IEnumerable locations)
{
//
// 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 == locations)
throw new ArgumentNullException("locations");
AddRange(locations);
}
}
///
/// Used by TrackingProfile to hold UserTrackingLocations.
///
[Serializable]
public class UserTrackingLocationCollection : List
{
public UserTrackingLocationCollection()
{
}
public UserTrackingLocationCollection(IEnumerable locations)
{
//
// 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 == locations)
throw new ArgumentNullException("locations");
AddRange(locations);
}
}
}
// 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
- versioninfo.cs
- KeyFrames.cs
- FixedDSBuilder.cs
- LinkedResource.cs
- ObjectSerializerFactory.cs
- WebFormDesignerActionService.cs
- GradientStopCollection.cs
- _RequestCacheProtocol.cs
- CharacterBufferReference.cs
- CssStyleCollection.cs
- ArrayExtension.cs
- HScrollBar.cs
- FilterUserControlBase.cs
- Item.cs
- UnsafeMethods.cs
- UInt32.cs
- StackSpiller.Generated.cs
- Stroke.cs
- InvalidComObjectException.cs
- XamlTypeMapper.cs
- BoolExpressionVisitors.cs
- CloudCollection.cs
- OleAutBinder.cs
- propertytag.cs
- FontFamilyValueSerializer.cs
- EventlogProvider.cs
- FigureHelper.cs
- SecurityChannelFaultConverter.cs
- mansign.cs
- CellPartitioner.cs
- Validator.cs
- XmlHierarchicalEnumerable.cs
- UpdateManifestForBrowserApplication.cs
- TraceHandlerErrorFormatter.cs
- ClientFormsIdentity.cs
- FormViewDeleteEventArgs.cs
- ClientEventManager.cs
- HtmlTextArea.cs
- DetailsViewRowCollection.cs
- RepeaterItem.cs
- WebPartHelpVerb.cs
- FixedDocumentSequencePaginator.cs
- GridViewRowEventArgs.cs
- ScrollData.cs
- DefaultSection.cs
- InvalidTimeZoneException.cs
- WorkflowDesignerMessageFilter.cs
- NameNode.cs
- FormClosingEvent.cs
- ScriptReferenceEventArgs.cs
- RenderDataDrawingContext.cs
- ItemDragEvent.cs
- ConnectionConsumerAttribute.cs
- PartitionerQueryOperator.cs
- GridViewPageEventArgs.cs
- DelegatedStream.cs
- MergeFailedEvent.cs
- DocumentSequence.cs
- NativeMethods.cs
- DEREncoding.cs
- ImageListImage.cs
- WindowsListViewScroll.cs
- _SingleItemRequestCache.cs
- VectorAnimationUsingKeyFrames.cs
- EmptyStringExpandableObjectConverter.cs
- unsafenativemethodsother.cs
- SqlCharStream.cs
- BufferedGraphicsManager.cs
- KeyedHashAlgorithm.cs
- RoleServiceManager.cs
- ListViewItem.cs
- BaseValidator.cs
- FilteredAttributeCollection.cs
- GridSplitter.cs
- XmlNamedNodeMap.cs
- _HeaderInfo.cs
- PolicyImporterElement.cs
- InvokeFunc.cs
- Schedule.cs
- BindStream.cs
- StackBuilderSink.cs
- _FixedSizeReader.cs
- ConnectionManagementElementCollection.cs
- MergeFilterQuery.cs
- ComplexLine.cs
- StringAttributeCollection.cs
- WebPartVerbsEventArgs.cs
- HttpResponseHeader.cs
- BoundField.cs
- EntityParameterCollection.cs
- Vector3dCollection.cs
- objectquery_tresulttype.cs
- MutexSecurity.cs
- PrintPreviewDialog.cs
- Triplet.cs
- ClipboardData.cs
- EncoderBestFitFallback.cs
- _UriTypeConverter.cs
- RayHitTestParameters.cs
- OdbcPermission.cs