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
- baseaxisquery.cs
- LinqDataSource.cs
- SqlUtils.cs
- FileSystemInfo.cs
- TableItemProviderWrapper.cs
- ConcurrentBag.cs
- filewebrequest.cs
- ServiceMemoryGates.cs
- ExtendedPropertyDescriptor.cs
- RenderingBiasValidation.cs
- SqlCommandBuilder.cs
- RegexMatch.cs
- Image.cs
- ObjectTokenCategory.cs
- SelfIssuedTokenFactoryCredential.cs
- EntityDataSourceReferenceGroup.cs
- UnsafeNativeMethods.cs
- DataGridViewCellStyle.cs
- x509store.cs
- ImageUrlEditor.cs
- MarginCollapsingState.cs
- BitmapMetadata.cs
- LeftCellWrapper.cs
- EncryptedData.cs
- SelectionRangeConverter.cs
- ObjectContextServiceProvider.cs
- DataGridViewIntLinkedList.cs
- DataFormats.cs
- MaskDescriptor.cs
- Compiler.cs
- DataProtection.cs
- SqlRowUpdatedEvent.cs
- Cloud.cs
- DbResourceAllocator.cs
- FormattedTextSymbols.cs
- ExcCanonicalXml.cs
- XMLSyntaxException.cs
- SimplePropertyEntry.cs
- AudioSignalProblemOccurredEventArgs.cs
- TextBoxBase.cs
- ChildTable.cs
- AsynchronousChannelMergeEnumerator.cs
- HttpApplicationStateBase.cs
- EntityModelBuildProvider.cs
- CodeValidator.cs
- Vector.cs
- DesignTimeDataBinding.cs
- SqlNamer.cs
- RawStylusSystemGestureInputReport.cs
- Triangle.cs
- InputLangChangeRequestEvent.cs
- CompilerErrorCollection.cs
- Scene3D.cs
- Rectangle.cs
- ScriptControlManager.cs
- AttributeCollection.cs
- UnaryOperationBinder.cs
- Point4D.cs
- DbProviderFactory.cs
- RuleInfoComparer.cs
- DirectoryNotFoundException.cs
- TextParaClient.cs
- ConfigDefinitionUpdates.cs
- ClientTarget.cs
- GlyphRun.cs
- ReadWriteSpinLock.cs
- RegexTypeEditor.cs
- MulticastNotSupportedException.cs
- DropDownButton.cs
- TreeViewCancelEvent.cs
- CriticalExceptions.cs
- DesignerVerbCollection.cs
- CompressionTransform.cs
- ReferencedAssemblyResolver.cs
- PrintDialogException.cs
- ExpressionConverter.cs
- StackOverflowException.cs
- TextBox.cs
- BlockingCollection.cs
- TypeDefinition.cs
- SpeechRecognizer.cs
- ToolStripDropDownDesigner.cs
- SocketManager.cs
- OuterGlowBitmapEffect.cs
- DnsCache.cs
- Parameter.cs
- SoundPlayerAction.cs
- Hyperlink.cs
- XmlAutoDetectWriter.cs
- SubMenuStyle.cs
- XmlParserContext.cs
- CollectionChangedEventManager.cs
- TemplateBindingExpression.cs
- PeerChannelListener.cs
- FontDialog.cs
- GeneratedCodeAttribute.cs
- DeclarativeCatalogPart.cs
- FormsAuthenticationModule.cs
- LoadedOrUnloadedOperation.cs
- AddingNewEventArgs.cs