Code:
/ 4.0 / 4.0 / 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. 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FunctionDescription.cs
- XmlElementAttributes.cs
- Nullable.cs
- BooleanFunctions.cs
- PartialTrustVisibleAssemblyCollection.cs
- Misc.cs
- SystemTcpStatistics.cs
- MetadataPropertyvalue.cs
- AttributeUsageAttribute.cs
- TypographyProperties.cs
- TypeTypeConverter.cs
- UserPersonalizationStateInfo.cs
- ExpressionBuilder.cs
- BoolExpression.cs
- DoubleCollectionConverter.cs
- SiteIdentityPermission.cs
- ReservationCollection.cs
- TextComposition.cs
- RegexGroupCollection.cs
- BrushValueSerializer.cs
- SpecularMaterial.cs
- SqlBulkCopyColumnMapping.cs
- FtpCachePolicyElement.cs
- SqlFactory.cs
- FixedLineResult.cs
- Enlistment.cs
- LinqExpressionNormalizer.cs
- RtfToXamlLexer.cs
- Axis.cs
- XmlChoiceIdentifierAttribute.cs
- UdpSocket.cs
- ReadContentAsBinaryHelper.cs
- SqlDataSourceSelectingEventArgs.cs
- LoadRetryHandler.cs
- DrawingAttributes.cs
- ImageCodecInfo.cs
- Canvas.cs
- Query.cs
- Compensation.cs
- AdapterSwitches.cs
- DocumentXPathNavigator.cs
- TextEditorTables.cs
- ValueHandle.cs
- WebControlAdapter.cs
- ResourceAssociationTypeEnd.cs
- SqlInternalConnectionSmi.cs
- XmlFormatExtensionPrefixAttribute.cs
- DefaultMemberAttribute.cs
- HierarchicalDataBoundControl.cs
- HttpRawResponse.cs
- TextAction.cs
- XmlAnyElementAttribute.cs
- ParallelEnumerableWrapper.cs
- UnionExpr.cs
- GeometryModel3D.cs
- AlignmentXValidation.cs
- XmlSchemaImporter.cs
- FontFaceLayoutInfo.cs
- Matrix.cs
- Pool.cs
- DrawingAttributes.cs
- ChtmlPhoneCallAdapter.cs
- ButtonBaseDesigner.cs
- SecurityContext.cs
- ClientConfigurationSystem.cs
- AsyncPostBackTrigger.cs
- SpeechRecognitionEngine.cs
- TextRunCacheImp.cs
- XmlSchemaSimpleTypeRestriction.cs
- XmlEntityReference.cs
- CachedBitmap.cs
- GeometryCombineModeValidation.cs
- InvalidOleVariantTypeException.cs
- ListBoxItemAutomationPeer.cs
- PropertyEmitter.cs
- FormsAuthenticationCredentials.cs
- NameValueCollection.cs
- MimeParameter.cs
- DocumentsTrace.cs
- _ConnectOverlappedAsyncResult.cs
- Section.cs
- SingleObjectCollection.cs
- LogLogRecordEnumerator.cs
- DetailsViewDeleteEventArgs.cs
- ArrayConverter.cs
- IWorkflowDebuggerService.cs
- GridView.cs
- TcpConnectionPool.cs
- XmlSchemaDocumentation.cs
- MdiWindowListStrip.cs
- XmlDocumentFragment.cs
- SqlMetaData.cs
- XmlObjectSerializerReadContextComplexJson.cs
- DurableDispatcherAddressingFault.cs
- FileUtil.cs
- ScriptManager.cs
- DataColumnChangeEvent.cs
- DecoderNLS.cs
- DesignerImageAdapter.cs
- PropertyInfoSet.cs