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
- PageSettings.cs
- ImageAnimator.cs
- ContractInstanceProvider.cs
- Timer.cs
- HitTestParameters3D.cs
- XmlParserContext.cs
- DelegateTypeInfo.cs
- UnsafeNativeMethods.cs
- DataGridViewTopLeftHeaderCell.cs
- Pts.cs
- EnumerableWrapperWeakToStrong.cs
- XmlQualifiedNameTest.cs
- GeneratedView.cs
- VersionPair.cs
- SHA512Managed.cs
- FrameSecurityDescriptor.cs
- GenericIdentity.cs
- SqlDataSourceCommandEventArgs.cs
- MSHTMLHost.cs
- RadioButtonFlatAdapter.cs
- CodeArrayIndexerExpression.cs
- CoTaskMemHandle.cs
- QueryContinueDragEvent.cs
- FunctionNode.cs
- BreakSafeBase.cs
- MenuRendererClassic.cs
- SimpleHandlerBuildProvider.cs
- _AutoWebProxyScriptHelper.cs
- activationcontext.cs
- ComplexLine.cs
- Avt.cs
- HttpModule.cs
- X509CertificateValidator.cs
- EventMetadata.cs
- SafeNativeMemoryHandle.cs
- translator.cs
- SiteMapDataSource.cs
- SqlMethodAttribute.cs
- ZipIORawDataFileBlock.cs
- embossbitmapeffect.cs
- XmlEncodedRawTextWriter.cs
- autovalidator.cs
- MarshalByRefObject.cs
- SecurityKeyEntropyMode.cs
- ExecutionContext.cs
- FloatSumAggregationOperator.cs
- ITreeGenerator.cs
- XmlWrappingReader.cs
- ViewPort3D.cs
- OracleCommandSet.cs
- SQLInt16Storage.cs
- TextEncodedRawTextWriter.cs
- StoryFragments.cs
- Literal.cs
- ProcessThreadCollection.cs
- XXXInfos.cs
- SiteMapSection.cs
- SchemaNamespaceManager.cs
- VisualCollection.cs
- PropertyExpression.cs
- FontStretch.cs
- GridToolTip.cs
- ToolStripScrollButton.cs
- SqlDataSourceConnectionPanel.cs
- SQLInt32.cs
- DictionaryItemsCollection.cs
- XmlReflectionMember.cs
- Message.cs
- SqlConnectionStringBuilder.cs
- PropertyNames.cs
- HwndHost.cs
- CatalogPartCollection.cs
- Model3D.cs
- QilGeneratorEnv.cs
- PageAdapter.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- SourceSwitch.cs
- QueryOptionExpression.cs
- LayoutTable.cs
- FileDialogCustomPlacesCollection.cs
- Module.cs
- FolderBrowserDialog.cs
- EntitySqlQueryCacheEntry.cs
- NoneExcludedImageIndexConverter.cs
- PathGeometry.cs
- DataBinding.cs
- TemplateBindingExpression.cs
- ReaderWriterLockWrapper.cs
- DocumentApplicationJournalEntry.cs
- XmlConvert.cs
- XamlFilter.cs
- SafeLibraryHandle.cs
- ToolStripDropDownButton.cs
- CopyAction.cs
- ZipIOLocalFileHeader.cs
- ThicknessAnimation.cs
- Activity.cs
- QueryCacheEntry.cs
- Utils.cs
- PointIndependentAnimationStorage.cs