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
- safex509handles.cs
- BaseCodeDomTreeGenerator.cs
- WmlControlAdapter.cs
- SecurityElement.cs
- SequentialOutput.cs
- DES.cs
- BuildProviderCollection.cs
- ModifierKeysConverter.cs
- Message.cs
- DistinctQueryOperator.cs
- AsyncOperationLifetimeManager.cs
- XmlTextAttribute.cs
- SystemException.cs
- GeometryCollection.cs
- SoapHeaderAttribute.cs
- BindStream.cs
- SiteMapSection.cs
- PageThemeParser.cs
- OleAutBinder.cs
- NTAccount.cs
- RawStylusInput.cs
- TextAction.cs
- XmlSchemaAnyAttribute.cs
- ElementAction.cs
- WeakReference.cs
- EdmMember.cs
- CheckBoxFlatAdapter.cs
- ArraySortHelper.cs
- ProcessHost.cs
- DocumentXPathNavigator.cs
- FastPropertyAccessor.cs
- BitmapFrame.cs
- MethodBody.cs
- XmlHierarchicalEnumerable.cs
- TdsParserStateObject.cs
- FixedPageProcessor.cs
- GC.cs
- ByteAnimationBase.cs
- BmpBitmapEncoder.cs
- ListBindableAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- RestClientProxyHandler.cs
- Oid.cs
- ExpressionVisitor.cs
- LookupNode.cs
- ListMarkerLine.cs
- BinaryReader.cs
- AddInControllerImpl.cs
- SqlCommandBuilder.cs
- TextAction.cs
- TriggerBase.cs
- SQLBinaryStorage.cs
- FilteredDataSetHelper.cs
- GridViewRowEventArgs.cs
- input.cs
- HttpDigestClientCredential.cs
- TokenizerHelper.cs
- ComboBoxRenderer.cs
- TreePrinter.cs
- EntityKeyElement.cs
- CustomAttribute.cs
- SqlBulkCopy.cs
- WinFormsSpinner.cs
- FormViewInsertedEventArgs.cs
- JoinSymbol.cs
- TextTreeTextBlock.cs
- TextRangeEdit.cs
- RequestCachePolicy.cs
- XpsResource.cs
- SoapHeader.cs
- OutputScopeManager.cs
- EventLogException.cs
- TextTrailingWordEllipsis.cs
- LowerCaseStringConverter.cs
- EdmPropertyAttribute.cs
- VersionValidator.cs
- HttpsTransportElement.cs
- Deflater.cs
- FixedPageProcessor.cs
- EntityWrapperFactory.cs
- WebPartActionVerb.cs
- Console.cs
- ToolStripSeparatorRenderEventArgs.cs
- MonthCalendar.cs
- Effect.cs
- DynamicRenderer.cs
- WebPartDisplayModeCollection.cs
- ScriptModule.cs
- XPathDescendantIterator.cs
- NativeMethods.cs
- InputLangChangeEvent.cs
- ListControlBoundActionList.cs
- DataGridViewControlCollection.cs
- OrderByLifter.cs
- SimpleHandlerFactory.cs
- ResourceDisplayNameAttribute.cs
- TrackingServices.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- DocumentSequenceHighlightLayer.cs
- DateTimeOffsetAdapter.cs