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
- SqlConnectionStringBuilder.cs
- MatrixCamera.cs
- Line.cs
- XslNumber.cs
- UriExt.cs
- Block.cs
- EmptyControlCollection.cs
- BitConverter.cs
- AlphabeticalEnumConverter.cs
- RangeValueProviderWrapper.cs
- EntityObject.cs
- DecimalConstantAttribute.cs
- ListViewItem.cs
- VerticalAlignConverter.cs
- XmlSchemaCompilationSettings.cs
- HttpResponseHeader.cs
- StatusStrip.cs
- SpAudioStreamWrapper.cs
- PropertyItemInternal.cs
- NativeMethods.cs
- hebrewshape.cs
- ExecutionContext.cs
- RequiredFieldValidator.cs
- PresentationTraceSources.cs
- AsnEncodedData.cs
- SharedPersonalizationStateInfo.cs
- DataGridViewImageColumn.cs
- CollectionBase.cs
- XmlException.cs
- WebControlAdapter.cs
- ArgumentNullException.cs
- StateDesigner.Helpers.cs
- FileChangesMonitor.cs
- SslStreamSecurityBindingElement.cs
- Bold.cs
- TreeViewItemAutomationPeer.cs
- Touch.cs
- NullReferenceException.cs
- LeaseManager.cs
- MiniParameterInfo.cs
- DataObject.cs
- RotateTransform3D.cs
- ListView.cs
- SiteMapSection.cs
- CroppedBitmap.cs
- DataGridItemAttachedStorage.cs
- Authorization.cs
- ContainerUIElement3D.cs
- ObjectParameter.cs
- MessageDroppedTraceRecord.cs
- SyndicationDeserializer.cs
- ITreeGenerator.cs
- MethodBuilder.cs
- ScriptHandlerFactory.cs
- ConfigXmlAttribute.cs
- ZipIOExtraFieldElement.cs
- PeerResolver.cs
- PriorityRange.cs
- ScriptingWebServicesSectionGroup.cs
- DatagridviewDisplayedBandsData.cs
- SamlAdvice.cs
- ValueProviderWrapper.cs
- TextTreeInsertElementUndoUnit.cs
- SqlSupersetValidator.cs
- translator.cs
- TraceContextEventArgs.cs
- PersonalizationStateInfo.cs
- XmlDocumentViewSchema.cs
- TextEncodedRawTextWriter.cs
- PermissionSetTriple.cs
- DataPager.cs
- AttributeSetAction.cs
- ProfileServiceManager.cs
- Propagator.cs
- AutoResizedEvent.cs
- EtwTrace.cs
- BrowserCapabilitiesCodeGenerator.cs
- InvalidateEvent.cs
- COAUTHIDENTITY.cs
- SchemaMapping.cs
- DataObjectAttribute.cs
- HelpInfo.cs
- ColumnBinding.cs
- SystemIPv6InterfaceProperties.cs
- FormViewPageEventArgs.cs
- ValidatorAttribute.cs
- AuthenticationModuleElementCollection.cs
- GridErrorDlg.cs
- ValueTypeFixupInfo.cs
- ItemAutomationPeer.cs
- InterleavedZipPartStream.cs
- Constant.cs
- ContainerControl.cs
- coordinatorfactory.cs
- TypeBuilderInstantiation.cs
- InstanceData.cs
- Typeface.cs
- EntityWrapper.cs
- ObjectDisposedException.cs
- MasterPageBuildProvider.cs