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
- backend.cs
- Drawing.cs
- UpdateCommand.cs
- ClientConvert.cs
- BitmapEffectDrawing.cs
- InfoCardListRequest.cs
- CustomLineCap.cs
- NameObjectCollectionBase.cs
- XmlAnyElementAttribute.cs
- WebPartDeleteVerb.cs
- SecurityPermission.cs
- ThemeDirectoryCompiler.cs
- SqlDataReader.cs
- BinHexEncoder.cs
- HttpHeaderCollection.cs
- FilteredAttributeCollection.cs
- DataGridViewSelectedRowCollection.cs
- TextEffect.cs
- TextRunCacheImp.cs
- TopClause.cs
- AttributedMetaModel.cs
- SafeCryptHandles.cs
- ServiceDiscoveryElement.cs
- GenerateTemporaryTargetAssembly.cs
- StrokeNode.cs
- AuthorizationSection.cs
- CounterSet.cs
- PresentationTraceSources.cs
- BaseValidatorDesigner.cs
- NotificationContext.cs
- SizeValueSerializer.cs
- EncoderFallback.cs
- BitmapDecoder.cs
- ParameterBuilder.cs
- TextBlock.cs
- OleDbParameterCollection.cs
- InheritablePropertyChangeInfo.cs
- FieldMetadata.cs
- FrameworkElementFactoryMarkupObject.cs
- FtpWebRequest.cs
- TailPinnedEventArgs.cs
- NameValuePair.cs
- HttpListenerResponse.cs
- _SpnDictionary.cs
- Math.cs
- BooleanStorage.cs
- ClientCredentialsElement.cs
- _IPv4Address.cs
- UnknownExceptionActionHelper.cs
- RuleEngine.cs
- AnimatedTypeHelpers.cs
- IItemContainerGenerator.cs
- OleCmdHelper.cs
- X509ChainPolicy.cs
- XsltContext.cs
- NominalTypeEliminator.cs
- HttpRequestCacheValidator.cs
- SymbolEqualComparer.cs
- EventQueueState.cs
- VersionValidator.cs
- TagNameToTypeMapper.cs
- MobileListItemCollection.cs
- SafeBitVector32.cs
- X509Certificate2.cs
- SchemaComplexType.cs
- AdvancedBindingPropertyDescriptor.cs
- XmlSerializationGeneratedCode.cs
- ArrayList.cs
- RequestStatusBarUpdateEventArgs.cs
- ChangeBlockUndoRecord.cs
- ActivationServices.cs
- InputBindingCollection.cs
- PolyQuadraticBezierSegment.cs
- TreeNodeMouseHoverEvent.cs
- OperatorExpressions.cs
- StorageAssociationTypeMapping.cs
- ContextMenuStrip.cs
- DocumentViewerAutomationPeer.cs
- DataFieldConverter.cs
- SystemEvents.cs
- SearchForVirtualItemEventArgs.cs
- CryptoApi.cs
- CallSiteBinder.cs
- DataGridCellItemAutomationPeer.cs
- StrongNameMembershipCondition.cs
- ToolstripProfessionalRenderer.cs
- Blend.cs
- OleDbSchemaGuid.cs
- SlipBehavior.cs
- CellTreeSimplifier.cs
- MultipartContentParser.cs
- PropertyOrder.cs
- InstanceHandle.cs
- SmiSettersStream.cs
- ChineseLunisolarCalendar.cs
- RegexCaptureCollection.cs
- CancellationToken.cs
- Speller.cs
- ContainerSelectorBehavior.cs
- PatternMatchRules.cs