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
- MtomMessageEncodingBindingElement.cs
- RangeBaseAutomationPeer.cs
- SqlDependency.cs
- GridViewUpdatedEventArgs.cs
- Point3D.cs
- UserUseLicenseDictionaryLoader.cs
- CurrentTimeZone.cs
- NonceCache.cs
- MergeFailedEvent.cs
- DefaultTextStore.cs
- TraceListeners.cs
- CompilerLocalReference.cs
- GlobalEventManager.cs
- ADMembershipProvider.cs
- XpsFilter.cs
- DoubleUtil.cs
- ResourceCategoryAttribute.cs
- SchemaNotation.cs
- DescendantBaseQuery.cs
- LogRecordSequence.cs
- PixelFormat.cs
- DataTableReaderListener.cs
- TaskCanceledException.cs
- Convert.cs
- RectangleHotSpot.cs
- NativeMethods.cs
- RowSpanVector.cs
- ACL.cs
- Span.cs
- DeleteWorkflowOwnerCommand.cs
- SchemaObjectWriter.cs
- HostUtils.cs
- WindowsUpDown.cs
- ComPersistableTypeElement.cs
- CodeAccessPermission.cs
- EventProxy.cs
- Tablet.cs
- ApplicationException.cs
- ProfileSettingsCollection.cs
- ConfigurationValidatorBase.cs
- InvalidComObjectException.cs
- DockPattern.cs
- MeshGeometry3D.cs
- StreamWriter.cs
- SeverityFilter.cs
- DataGridViewRowsRemovedEventArgs.cs
- SQLInt64Storage.cs
- GeneralTransform3DGroup.cs
- WebPartEditVerb.cs
- PasswordPropertyTextAttribute.cs
- ImageKeyConverter.cs
- FieldTemplateFactory.cs
- DbParameterCollectionHelper.cs
- ContentFileHelper.cs
- ImageListStreamer.cs
- SortQuery.cs
- XmlQualifiedName.cs
- UIElementHelper.cs
- HttpWriter.cs
- WmfPlaceableFileHeader.cs
- IsolatedStoragePermission.cs
- Int32EqualityComparer.cs
- LostFocusEventManager.cs
- Misc.cs
- FixedPosition.cs
- TransformedBitmap.cs
- XmlIncludeAttribute.cs
- CTreeGenerator.cs
- ActivityCodeGenerator.cs
- XmlNodeList.cs
- ParenthesizePropertyNameAttribute.cs
- SQlBooleanStorage.cs
- DataListItemEventArgs.cs
- StorageFunctionMapping.cs
- XsltConvert.cs
- Win32MouseDevice.cs
- FileAuthorizationModule.cs
- RMEnrollmentPage3.cs
- XmlSortKeyAccumulator.cs
- ProxyAttribute.cs
- ColorMatrix.cs
- FixedSOMTableRow.cs
- ConnectionsZoneAutoFormat.cs
- ProjectedSlot.cs
- AccessorTable.cs
- BitmapEffectDrawingContextWalker.cs
- InstanceData.cs
- DurableInstancingOptions.cs
- SqlConnectionPoolProviderInfo.cs
- OracleCommandSet.cs
- ConsumerConnectionPoint.cs
- WebPartDescriptionCollection.cs
- GraphicsContainer.cs
- DesignerSerializationOptionsAttribute.cs
- XmlNodeList.cs
- ToolStripDropDownMenu.cs
- RoutedEventHandlerInfo.cs
- Int32Rect.cs
- Message.cs
- OptimalBreakSession.cs