Code:
/ 4.0 / 4.0 / 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. 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
- ContractMapping.cs
- Transaction.cs
- DetailsViewRowCollection.cs
- SqlDataReaderSmi.cs
- FormattedTextSymbols.cs
- CommandEventArgs.cs
- MetafileHeaderWmf.cs
- Part.cs
- AnimationClock.cs
- ToolStripPanelDesigner.cs
- DrawingContextDrawingContextWalker.cs
- WebPartConnectionsConfigureVerb.cs
- DataObject.cs
- RoutedEventHandlerInfo.cs
- StateMachineHelpers.cs
- InputLangChangeRequestEvent.cs
- SecurityContextSecurityTokenParameters.cs
- XmlDataProvider.cs
- InProcStateClientManager.cs
- SmtpReplyReaderFactory.cs
- XmlValidatingReaderImpl.cs
- RuntimeArgumentHandle.cs
- TypeResolver.cs
- MexHttpBindingElement.cs
- VectorConverter.cs
- TextServicesDisplayAttribute.cs
- Predicate.cs
- DrawTreeNodeEventArgs.cs
- CursorInteropHelper.cs
- WebPartCancelEventArgs.cs
- IncrementalCompileAnalyzer.cs
- InternalTypeHelper.cs
- Brush.cs
- XmlSyndicationContent.cs
- MenuItemAutomationPeer.cs
- ConfigurationSectionHelper.cs
- PropertyMapper.cs
- Menu.cs
- CookieProtection.cs
- InvalidPrinterException.cs
- Cursors.cs
- MessageDispatch.cs
- RichTextBoxAutomationPeer.cs
- XmlNamespaceMappingCollection.cs
- IResourceProvider.cs
- UnsafeMethods.cs
- XmlSchemaSequence.cs
- GridViewCancelEditEventArgs.cs
- SecureUICommand.cs
- DateTimeSerializationSection.cs
- DataServiceExpressionVisitor.cs
- LineProperties.cs
- TrustLevelCollection.cs
- TreePrinter.cs
- ExtenderControl.cs
- CodeExpressionCollection.cs
- Rfc2898DeriveBytes.cs
- FrameSecurityDescriptor.cs
- SessionStateContainer.cs
- Block.cs
- PointValueSerializer.cs
- ChangePassword.cs
- IncrementalHitTester.cs
- CustomCategoryAttribute.cs
- ZipIOCentralDirectoryFileHeader.cs
- ManagementExtension.cs
- HtmlDocument.cs
- COM2TypeInfoProcessor.cs
- EditCommandColumn.cs
- ASCIIEncoding.cs
- MD5Cng.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- LogFlushAsyncResult.cs
- RepeaterItem.cs
- DropShadowBitmapEffect.cs
- ToolboxItemFilterAttribute.cs
- CurrentTimeZone.cs
- DataGridViewImageCell.cs
- WebPartExportVerb.cs
- DesignerCategoryAttribute.cs
- RenderDataDrawingContext.cs
- EntityDataSourceMemberPath.cs
- MailHeaderInfo.cs
- TextTreeUndo.cs
- XmlValidatingReaderImpl.cs
- RowsCopiedEventArgs.cs
- EntityDescriptor.cs
- Point3DKeyFrameCollection.cs
- ControlCollection.cs
- OdbcPermission.cs
- Win32Exception.cs
- CorePropertiesFilter.cs
- SetIterators.cs
- TraceFilter.cs
- CompModSwitches.cs
- DataGridParentRows.cs
- ControlAdapter.cs
- RouteParametersHelper.cs
- TextServicesManager.cs
- ServerIdentity.cs