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
- ConstrainedGroup.cs
- PartitionerQueryOperator.cs
- FontFaceLayoutInfo.cs
- ToolStripRenderEventArgs.cs
- PrintDialog.cs
- DesignerSerializationOptionsAttribute.cs
- ADConnectionHelper.cs
- glyphs.cs
- DebugInfoExpression.cs
- SerializationEventsCache.cs
- VoiceObjectToken.cs
- CancellationHandlerDesigner.cs
- FrameSecurityDescriptor.cs
- InputScopeConverter.cs
- ConfigurationSectionCollection.cs
- WmpBitmapEncoder.cs
- InlineObject.cs
- FacetValues.cs
- XmlBoundElement.cs
- RadioButtonPopupAdapter.cs
- MexNamedPipeBindingElement.cs
- IsolationInterop.cs
- WeakReferenceEnumerator.cs
- TableLayoutPanelCellPosition.cs
- ListView.cs
- SoapFormatter.cs
- ToolStripGripRenderEventArgs.cs
- XslVisitor.cs
- TextElement.cs
- Point3DCollectionValueSerializer.cs
- ClientCultureInfo.cs
- KnownTypeAttribute.cs
- BitmapMetadata.cs
- ZipFileInfo.cs
- DataStreams.cs
- HtmlTableRowCollection.cs
- CodeEventReferenceExpression.cs
- ChannelTerminatedException.cs
- AsyncStreamReader.cs
- TreeNodeMouseHoverEvent.cs
- DataControlFieldCell.cs
- ObjectContextServiceProvider.cs
- SubMenuStyleCollectionEditor.cs
- OuterGlowBitmapEffect.cs
- BitArray.cs
- XmlSchemaProviderAttribute.cs
- ButtonBaseDesigner.cs
- streamingZipPartStream.cs
- unitconverter.cs
- TypeUnloadedException.cs
- ContextMenu.cs
- InvalidProgramException.cs
- _Events.cs
- QueryExpr.cs
- LocalizableResourceBuilder.cs
- VisualStyleInformation.cs
- PrintingPermissionAttribute.cs
- HttpHandlersSection.cs
- ReadOnlyActivityGlyph.cs
- GlobalProxySelection.cs
- AssemblyResourceLoader.cs
- Line.cs
- DataObject.cs
- ArrayElementGridEntry.cs
- ConnectionsZoneDesigner.cs
- BitVector32.cs
- DictionaryEntry.cs
- ConfigurationManagerHelper.cs
- ProcessHostConfigUtils.cs
- ProxyAttribute.cs
- MenuCommandService.cs
- InputMethodStateTypeInfo.cs
- Compilation.cs
- ZipIOBlockManager.cs
- Misc.cs
- XmlSchemaGroup.cs
- InvokeAction.cs
- SimpleApplicationHost.cs
- GeneralTransform3DTo2DTo3D.cs
- ListSortDescription.cs
- VisualBrush.cs
- AssociationProvider.cs
- AnonymousIdentificationModule.cs
- ResXBuildProvider.cs
- RequiredFieldValidator.cs
- SQLBytesStorage.cs
- CompiledQueryCacheEntry.cs
- AmbiguousMatchException.cs
- XmlSchemaAnnotated.cs
- __ComObject.cs
- SelectionManager.cs
- RuntimeDelegateArgument.cs
- SharedPerformanceCounter.cs
- CqlBlock.cs
- SafeTimerHandle.cs
- WebScriptEnablingBehavior.cs
- FlowDocumentScrollViewer.cs
- HtmlTextArea.cs
- ValidationUtility.cs
- WebPart.cs