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
- ServiceDescription.cs
- DrawingDrawingContext.cs
- CodeObjectCreateExpression.cs
- DataGridViewRowCancelEventArgs.cs
- DataBindEngine.cs
- ExternalFile.cs
- WindowsRebar.cs
- UIElementIsland.cs
- ManagementClass.cs
- TypefaceMap.cs
- WarningException.cs
- FileFormatException.cs
- Int64.cs
- XmlSchemaGroupRef.cs
- FixedSOMPage.cs
- SubpageParaClient.cs
- PropertyTabChangedEvent.cs
- Byte.cs
- LineBreakRecord.cs
- Signature.cs
- XmlNamedNodeMap.cs
- Triplet.cs
- Annotation.cs
- SecuritySessionClientSettings.cs
- JapaneseLunisolarCalendar.cs
- ExpanderAutomationPeer.cs
- PeerCollaborationPermission.cs
- EventProxy.cs
- JsonReaderDelegator.cs
- HostedElements.cs
- GPStream.cs
- EpmTargetPathSegment.cs
- Registry.cs
- AdRotator.cs
- WebBrowserSiteBase.cs
- DataGridViewBindingCompleteEventArgs.cs
- StringDictionary.cs
- SamlAuthorityBinding.cs
- PriorityChain.cs
- WindowsAuthenticationEventArgs.cs
- ReliableSessionElement.cs
- FrameworkElementAutomationPeer.cs
- SymbolType.cs
- ResourceWriter.cs
- EntityDataSourceReferenceGroup.cs
- SqlErrorCollection.cs
- TextElement.cs
- ControlPaint.cs
- SafeUserTokenHandle.cs
- HeaderLabel.cs
- FontDifferentiator.cs
- ChangeProcessor.cs
- BitmapCacheBrush.cs
- HierarchicalDataBoundControl.cs
- ProvidersHelper.cs
- ChannelSinkStacks.cs
- ApplicationManager.cs
- documentsequencetextpointer.cs
- MappingModelBuildProvider.cs
- VectorCollectionValueSerializer.cs
- ReadWriteObjectLock.cs
- MultiplexingDispatchMessageFormatter.cs
- FixedDocumentSequencePaginator.cs
- SafeRightsManagementHandle.cs
- CodeVariableReferenceExpression.cs
- TransactionState.cs
- querybuilder.cs
- ValueUtilsSmi.cs
- MailDefinition.cs
- WebPartManager.cs
- DriveInfo.cs
- DataGridViewDataConnection.cs
- SystemKeyConverter.cs
- ListBoxItemWrapperAutomationPeer.cs
- WindowInteropHelper.cs
- InternalsVisibleToAttribute.cs
- MessageSmuggler.cs
- PropertyGridView.cs
- XpsS0ValidatingLoader.cs
- DebugView.cs
- StringSorter.cs
- ProtectedProviderSettings.cs
- WindowsSolidBrush.cs
- ListViewPagedDataSource.cs
- ListView.cs
- RenderDataDrawingContext.cs
- RequestBringIntoViewEventArgs.cs
- NumberFormatter.cs
- EntitySqlQueryState.cs
- SemanticResultKey.cs
- XPathSingletonIterator.cs
- PrintController.cs
- WindowsGraphicsWrapper.cs
- SchemaNamespaceManager.cs
- XhtmlBasicLinkAdapter.cs
- SQLMembershipProvider.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- MessageQueueCriteria.cs
- Light.cs
- ImageKeyConverter.cs