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
- WmpBitmapEncoder.cs
- RangeValidator.cs
- SharedPerformanceCounter.cs
- InlinedAggregationOperatorEnumerator.cs
- ToolStripStatusLabel.cs
- InternalCache.cs
- Exceptions.cs
- ExportException.cs
- DbConnectionOptions.cs
- FixUp.cs
- GridViewAutoFormat.cs
- LinqDataSourceContextData.cs
- ValidationErrorCollection.cs
- ArrangedElementCollection.cs
- XomlCompilerResults.cs
- WebPartDeleteVerb.cs
- TableSectionStyle.cs
- SystemWebSectionGroup.cs
- InternalConfigRoot.cs
- Ref.cs
- ClientData.cs
- DataGridViewTopRowAccessibleObject.cs
- SafePipeHandle.cs
- PeerApplication.cs
- Decoder.cs
- XamlReaderHelper.cs
- FontSourceCollection.cs
- ObjectDataSourceChooseMethodsPanel.cs
- TileBrush.cs
- FieldToken.cs
- RelativeSource.cs
- GB18030Encoding.cs
- Container.cs
- PermissionSetTriple.cs
- Mutex.cs
- Screen.cs
- SessionIDManager.cs
- MethodExpr.cs
- LogicalTreeHelper.cs
- ExpressionBuilderCollection.cs
- ButtonColumn.cs
- DataAccessor.cs
- WmfPlaceableFileHeader.cs
- PropertyEmitter.cs
- ListenUriMode.cs
- AssertFilter.cs
- GrammarBuilderWildcard.cs
- SqlCacheDependency.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- IDispatchConstantAttribute.cs
- InkPresenterAutomationPeer.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- XmlSchemaExporter.cs
- VSWCFServiceContractGenerator.cs
- AdornedElementPlaceholder.cs
- SessionEndingCancelEventArgs.cs
- TableRowCollection.cs
- TypeUtils.cs
- ACL.cs
- Activator.cs
- DispatcherOperation.cs
- AutoScrollExpandMessageFilter.cs
- KeyValueSerializer.cs
- AuthenticationException.cs
- dsa.cs
- WindowsToolbar.cs
- BufferedGraphicsContext.cs
- BindingSourceDesigner.cs
- SqlParameterizer.cs
- ConfigurationValidatorAttribute.cs
- StickyNoteAnnotations.cs
- FrameworkElementFactory.cs
- IsolatedStorageException.cs
- SmtpNegotiateAuthenticationModule.cs
- x509utils.cs
- CompileXomlTask.cs
- FixedPageProcessor.cs
- SiteMapPath.cs
- Shape.cs
- ObjectManager.cs
- CodePageUtils.cs
- PropertyTab.cs
- DetailsView.cs
- DataGridViewIntLinkedList.cs
- DataServiceContext.cs
- ClientSponsor.cs
- Cloud.cs
- __FastResourceComparer.cs
- InteropBitmapSource.cs
- CodeNamespaceImportCollection.cs
- DesignSurfaceServiceContainer.cs
- PropertyHelper.cs
- StandardOleMarshalObject.cs
- WebControlAdapter.cs
- SendMailErrorEventArgs.cs
- EntityDataSourceEntityTypeFilterItem.cs
- AddInBase.cs
- BooleanAnimationBase.cs
- DiscoveryDocumentSearchPattern.cs
- DbSetClause.cs