Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingAnnotationCollection.cs / 1305376 / TrackingAnnotationCollection.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 Location to hold Conditions. /// ////// Used by TrackingExtract and TrackPoint to hold annotations. /// [Serializable] public class TrackingAnnotationCollection : List{ public TrackingAnnotationCollection() { } public TrackingAnnotationCollection(IEnumerable annotations) { // // 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 == annotations) throw new ArgumentNullException("annotations"); AddRange(annotations); } } } // 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 Location to hold Conditions. /// ////// Used by TrackingExtract and TrackPoint to hold annotations. /// [Serializable] public class TrackingAnnotationCollection : List{ public TrackingAnnotationCollection() { } public TrackingAnnotationCollection(IEnumerable annotations) { // // 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 == annotations) throw new ArgumentNullException("annotations"); AddRange(annotations); } } } // 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
- WebPartCatalogCloseVerb.cs
- CompoundFileStreamReference.cs
- Converter.cs
- DXD.cs
- HijriCalendar.cs
- ConstraintManager.cs
- WindowsUpDown.cs
- TransactionInterop.cs
- CreateBookmarkScope.cs
- PersistenceTypeAttribute.cs
- BatchStream.cs
- WebServiceClientProxyGenerator.cs
- DataRow.cs
- X509Extension.cs
- SqlAliasesReferenced.cs
- JulianCalendar.cs
- AnnotationStore.cs
- TraceAsyncResult.cs
- HttpHostedTransportConfiguration.cs
- DocumentSequence.cs
- WebPartZoneCollection.cs
- TagMapCollection.cs
- MSAANativeProvider.cs
- HyperLinkColumn.cs
- sapiproxy.cs
- HierarchicalDataBoundControlAdapter.cs
- AnnouncementEndpoint.cs
- AssemblyHash.cs
- AdornerPresentationContext.cs
- CultureInfoConverter.cs
- ImpersonationContext.cs
- BamlVersionHeader.cs
- PropertyValueChangedEvent.cs
- MultipleViewPattern.cs
- DependencyPropertyChangedEventArgs.cs
- Int32CollectionConverter.cs
- MonthChangedEventArgs.cs
- AssemblyAttributes.cs
- PasswordRecovery.cs
- ListViewTableRow.cs
- IgnorePropertiesAttribute.cs
- ListSortDescriptionCollection.cs
- DesigntimeLicenseContextSerializer.cs
- EnumType.cs
- ReadOnlyCollection.cs
- InternalResources.cs
- TypefaceMap.cs
- XmlException.cs
- PolicyManager.cs
- FormViewPageEventArgs.cs
- ToolboxComponentsCreatingEventArgs.cs
- SaveFileDialog.cs
- TabletDevice.cs
- StatusBarAutomationPeer.cs
- WebRequestModulesSection.cs
- ErrorFormatter.cs
- XmlDataImplementation.cs
- ScopedKnownTypes.cs
- CompiledQueryCacheEntry.cs
- FeatureSupport.cs
- SudsParser.cs
- WebPartDescriptionCollection.cs
- NestPullup.cs
- SelectedGridItemChangedEvent.cs
- ProcessThread.cs
- KeySpline.cs
- BamlBinaryReader.cs
- EditorAttribute.cs
- ContainerFilterService.cs
- QuaternionIndependentAnimationStorage.cs
- HtmlEncodedRawTextWriter.cs
- SharedPerformanceCounter.cs
- FloaterBaseParagraph.cs
- ApplicationContext.cs
- MimeMapping.cs
- Effect.cs
- UInt64Converter.cs
- WmlValidatorAdapter.cs
- ImpersonationContext.cs
- TransactionBridgeSection.cs
- ValidationHelper.cs
- InvalidAsynchronousStateException.cs
- CookieHandler.cs
- DeferredTextReference.cs
- HttpCookie.cs
- ImageSource.cs
- SelectionProcessor.cs
- HMACSHA512.cs
- ContentHostHelper.cs
- EntityDataSourceWrapperCollection.cs
- CodePropertyReferenceExpression.cs
- ConditionBrowserDialog.cs
- AVElementHelper.cs
- Vector3DAnimation.cs
- KeyValueConfigurationElement.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- FrameSecurityDescriptor.cs
- Bitmap.cs
- ApplicationContext.cs
- UrlRoutingModule.cs