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
- UIElementHelper.cs
- CorrelationActionMessageFilter.cs
- XpsResource.cs
- sqlcontext.cs
- TextBoxLine.cs
- SupportsEventValidationAttribute.cs
- CompressStream.cs
- ReflectionTypeLoadException.cs
- TextTreeNode.cs
- DbProviderConfigurationHandler.cs
- NavigationProperty.cs
- DesignerSerializationManager.cs
- util.cs
- PriorityItem.cs
- MSAAEventDispatcher.cs
- PatternMatcher.cs
- ItemChangedEventArgs.cs
- PrePostDescendentsWalker.cs
- LOSFormatter.cs
- TablePattern.cs
- LockRecoveryTask.cs
- ScrollData.cs
- Help.cs
- AsymmetricKeyExchangeDeformatter.cs
- ScriptResourceMapping.cs
- EmptyStringExpandableObjectConverter.cs
- RegexRunner.cs
- EdmFunction.cs
- SQlBooleanStorage.cs
- SoapDocumentServiceAttribute.cs
- HostingPreferredMapPath.cs
- XPathMultyIterator.cs
- newitemfactory.cs
- Context.cs
- DelimitedListTraceListener.cs
- SubMenuStyleCollectionEditor.cs
- Options.cs
- _AutoWebProxyScriptWrapper.cs
- OrthographicCamera.cs
- Selection.cs
- ExpressionBinding.cs
- ConfigurationSchemaErrors.cs
- InkCanvasFeedbackAdorner.cs
- ChannelFactoryBase.cs
- WebPartConnectionsCancelEventArgs.cs
- DateRangeEvent.cs
- WorkflowOperationFault.cs
- DESCryptoServiceProvider.cs
- HMACMD5.cs
- _StreamFramer.cs
- SignatureDescription.cs
- SqlFormatter.cs
- XmlSerializerVersionAttribute.cs
- NavigatingCancelEventArgs.cs
- UnsafeNativeMethods.cs
- TransformCollection.cs
- ScrollContentPresenter.cs
- DateTimeConverter.cs
- ClientRuntimeConfig.cs
- XmlReflectionMember.cs
- FormViewDeleteEventArgs.cs
- BindingUtils.cs
- ElementUtil.cs
- ListBindingConverter.cs
- RuntimeResourceSet.cs
- _NtlmClient.cs
- ResourceSet.cs
- RequestCachePolicy.cs
- Mutex.cs
- odbcmetadatafactory.cs
- MULTI_QI.cs
- TextFormatterContext.cs
- HGlobalSafeHandle.cs
- Transform.cs
- PasswordBoxAutomationPeer.cs
- ExtractorMetadata.cs
- RefExpr.cs
- SQLByte.cs
- BehaviorDragDropEventArgs.cs
- FileUpload.cs
- ReverseInheritProperty.cs
- MsmqIntegrationValidationBehavior.cs
- SoapExtensionReflector.cs
- MissingFieldException.cs
- BinaryReader.cs
- InstanceKeyCollisionException.cs
- Atom10ItemFormatter.cs
- ObjectListDesigner.cs
- SafeBitVector32.cs
- Pool.cs
- FrugalList.cs
- NoneExcludedImageIndexConverter.cs
- XsltArgumentList.cs
- WindowsListViewSubItem.cs
- BitmapSizeOptions.cs
- SafeRightsManagementEnvironmentHandle.cs
- AssemblyAttributesGoHere.cs
- TrackingDataItem.cs
- TransformProviderWrapper.cs
- VersionedStream.cs