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
- PeerContact.cs
- Assert.cs
- CompositionAdorner.cs
- ScrollBarAutomationPeer.cs
- QfeChecker.cs
- Win32NamedPipes.cs
- XmlHierarchicalEnumerable.cs
- ActivityPreviewDesigner.cs
- UserNameSecurityTokenParameters.cs
- DataListItemEventArgs.cs
- TabControlCancelEvent.cs
- WebServiceMethodData.cs
- Query.cs
- MsmqProcessProtocolHandler.cs
- SerialStream.cs
- ECDiffieHellmanPublicKey.cs
- PropertyToken.cs
- ObjectDisposedException.cs
- WebReferencesBuildProvider.cs
- MatrixAnimationBase.cs
- LineVisual.cs
- DbConnectionClosed.cs
- SizeKeyFrameCollection.cs
- DataSourceGroupCollection.cs
- UriSection.cs
- ClientSettingsStore.cs
- WindowsScrollBar.cs
- SafeThemeHandle.cs
- WindowsEditBoxRange.cs
- MetadataCacheItem.cs
- DataRow.cs
- Style.cs
- AppDomainCompilerProxy.cs
- CategoriesDocument.cs
- LinearGradientBrush.cs
- CopyNamespacesAction.cs
- EntityDataSourceContainerNameConverter.cs
- TypeUtils.cs
- DeviceContexts.cs
- DataBindingCollection.cs
- DbgUtil.cs
- SimpleWorkerRequest.cs
- ToggleButtonAutomationPeer.cs
- bindurihelper.cs
- GridViewDeleteEventArgs.cs
- PersonalizableTypeEntry.cs
- AxHost.cs
- SqlBooleanMismatchVisitor.cs
- UserNamePasswordValidationMode.cs
- GeometryGroup.cs
- DefaultClaimSet.cs
- XsltArgumentList.cs
- Crypto.cs
- DataGridLinkButton.cs
- Operator.cs
- GridViewDeleteEventArgs.cs
- ResourceContainer.cs
- LinqDataSourceInsertEventArgs.cs
- ValueHandle.cs
- EntitySetBaseCollection.cs
- XmlNamespaceManager.cs
- ViewBox.cs
- FlowDocumentReader.cs
- SimpleExpression.cs
- DataBoundControlActionList.cs
- NullEntityWrapper.cs
- ExecutionContext.cs
- XmlEnumAttribute.cs
- Wildcard.cs
- NavigatorInput.cs
- WebSysDescriptionAttribute.cs
- GetParentChain.cs
- CustomAttributeSerializer.cs
- DataObjectSettingDataEventArgs.cs
- UIElementParaClient.cs
- XAMLParseException.cs
- CountAggregationOperator.cs
- ParagraphVisual.cs
- RowToParametersTransformer.cs
- WebException.cs
- CompilationUnit.cs
- LoginNameDesigner.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SQLMembershipProvider.cs
- SqlGenerator.cs
- PrintPreviewGraphics.cs
- GraphicsPathIterator.cs
- Rotation3DAnimationUsingKeyFrames.cs
- AppDomain.cs
- XmlDeclaration.cs
- CodeCatchClause.cs
- UnsafeNativeMethods.cs
- DesignerActionUIService.cs
- SmiContext.cs
- DllHostInitializer.cs
- ConfigUtil.cs
- XsltException.cs
- AVElementHelper.cs
- RunWorkerCompletedEventArgs.cs
- CompilerState.cs