Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackPointCollection.cs / 1305376 / TrackPointCollection.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 ActivityTrackPoints. /// [Serializable] public class ActivityTrackPointCollection : List{ public ActivityTrackPointCollection() { } public ActivityTrackPointCollection(IEnumerable points) { // // 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 == points) throw new ArgumentNullException("points"); AddRange(points); } } /// /// Used by TrackingProfile to hold UserTrackPoints. /// [Serializable] public class UserTrackPointCollection : List{ public UserTrackPointCollection() { } public UserTrackPointCollection(IEnumerable points) { // // 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 == points) throw new ArgumentNullException("points"); AddRange(points); } } /// /// Used by TrackingProfile to hold ActivityTrackPoints. /// [Serializable] public class WorkflowTrackPointCollection : List{ public WorkflowTrackPointCollection() { } public WorkflowTrackPointCollection(IEnumerable points) { // // 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 == points) throw new ArgumentNullException("points"); AddRange(points); } } } // 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
- RSAPKCS1KeyExchangeFormatter.cs
- AssociationSet.cs
- FontDialog.cs
- UnauthorizedWebPart.cs
- SerialStream.cs
- AutomationProperty.cs
- MessagePropertyVariants.cs
- PresentationAppDomainManager.cs
- ExpressionBindings.cs
- DbParameterCollectionHelper.cs
- BrowserDefinition.cs
- TreeNodeBinding.cs
- Propagator.Evaluator.cs
- DoubleIndependentAnimationStorage.cs
- VirtualDirectoryMapping.cs
- DetailsViewDeletedEventArgs.cs
- COMException.cs
- ProfileService.cs
- ImmutableAssemblyCacheEntry.cs
- CatalogPart.cs
- ConditionValidator.cs
- XmlSchemaElement.cs
- DefaultHttpHandler.cs
- CacheMemory.cs
- Merger.cs
- _HelperAsyncResults.cs
- WebServiceResponseDesigner.cs
- IriParsingElement.cs
- FileIOPermission.cs
- ContextStaticAttribute.cs
- EntityClientCacheEntry.cs
- RemotingConfiguration.cs
- NoClickablePointException.cs
- DictionarySectionHandler.cs
- DoubleAnimationUsingKeyFrames.cs
- ClientSideQueueItem.cs
- SettingsPropertyCollection.cs
- FrugalMap.cs
- Environment.cs
- XamlReader.cs
- MtomMessageEncoder.cs
- WpfSharedBamlSchemaContext.cs
- DLinqTableProvider.cs
- StructuralCache.cs
- ScrollChangedEventArgs.cs
- WrappedIUnknown.cs
- BitmapEffectGroup.cs
- ActivityExecutorOperation.cs
- SqlDataSourceConfigureSelectPanel.cs
- AuthenticationModuleElement.cs
- xmlglyphRunInfo.cs
- XmlAttribute.cs
- AdornerPresentationContext.cs
- FormViewAutoFormat.cs
- InstanceData.cs
- OracleTransaction.cs
- XmlArrayAttribute.cs
- RequestQueue.cs
- PropertyMap.cs
- AdobeCFFWrapper.cs
- ThemeConfigurationDialog.cs
- DisplayToken.cs
- NativeWindow.cs
- DBBindings.cs
- InternalMappingException.cs
- Utilities.cs
- AdornedElementPlaceholder.cs
- TranslateTransform3D.cs
- ProfileParameter.cs
- SqlBuilder.cs
- RSAPKCS1KeyExchangeFormatter.cs
- Variant.cs
- TagPrefixInfo.cs
- ManipulationLogic.cs
- MemoryResponseElement.cs
- XmlCharCheckingReader.cs
- ToolTipAutomationPeer.cs
- XmlSchemaChoice.cs
- StackOverflowException.cs
- SubMenuStyleCollection.cs
- NumberFormatter.cs
- WebPartCloseVerb.cs
- SignatureGenerator.cs
- StringFunctions.cs
- WorkflowRuntimeSection.cs
- ClientOptions.cs
- GetPageCompletedEventArgs.cs
- DataObjectPastingEventArgs.cs
- HighlightVisual.cs
- TypedReference.cs
- TemplateContentLoader.cs
- ConfigPathUtility.cs
- EventWaitHandleSecurity.cs
- MethodCallTranslator.cs
- Parser.cs
- SequenceFullException.cs
- ServiceNotStartedException.cs
- ArraySegment.cs
- InstancePersistenceCommandException.cs
- ExpressionPrinter.cs