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
- DotAtomReader.cs
- WindowProviderWrapper.cs
- EventSetter.cs
- RoleManagerModule.cs
- PopupRootAutomationPeer.cs
- DeclaredTypeValidatorAttribute.cs
- WindowsSpinner.cs
- FontDialog.cs
- TileBrush.cs
- UIAgentRequest.cs
- _CommandStream.cs
- CodeCompiler.cs
- validationstate.cs
- ListMarkerSourceInfo.cs
- ListViewSelectEventArgs.cs
- PageVisual.cs
- objectquery_tresulttype.cs
- RectAnimationBase.cs
- DbConnectionPoolGroupProviderInfo.cs
- CookieParameter.cs
- DataBindingList.cs
- TextReader.cs
- WorkflowInstanceExtensionManager.cs
- WsdlHelpGeneratorElement.cs
- SplitContainer.cs
- SqlCharStream.cs
- FlowDocumentPaginator.cs
- EntityDataSourceSelectingEventArgs.cs
- WindowsAuthenticationModule.cs
- DataConnectionHelper.cs
- WebUtility.cs
- SmtpClient.cs
- ToolboxItemFilterAttribute.cs
- FilteredAttributeCollection.cs
- MetafileHeaderEmf.cs
- ExpressionConverter.cs
- DictionarySectionHandler.cs
- EncoderReplacementFallback.cs
- ElementProxy.cs
- Point3D.cs
- DependencySource.cs
- PasswordTextContainer.cs
- SQLDecimalStorage.cs
- DefaultBindingPropertyAttribute.cs
- AutoScrollExpandMessageFilter.cs
- ColorMatrix.cs
- _OSSOCK.cs
- PeerTransportListenAddressConverter.cs
- XmlSchemaAppInfo.cs
- SetStoryboardSpeedRatio.cs
- UnsafeNativeMethods.cs
- DataGridViewSelectedCellCollection.cs
- RenderContext.cs
- GB18030Encoding.cs
- RefType.cs
- XmlNamespaceMappingCollection.cs
- FilterUserControlBase.cs
- XsdDateTime.cs
- CacheEntry.cs
- IteratorFilter.cs
- SigningCredentials.cs
- DateTimeParse.cs
- PropertyBuilder.cs
- SwitchLevelAttribute.cs
- OracleSqlParser.cs
- DbCommandTree.cs
- CaseExpr.cs
- ProfileManager.cs
- TextElementEnumerator.cs
- ServiceNotStartedException.cs
- UInt16.cs
- DataRowChangeEvent.cs
- XmlSchemaExternal.cs
- UntrustedRecipientException.cs
- EventLogEntryCollection.cs
- DocumentPageTextView.cs
- MessagingDescriptionAttribute.cs
- SafeBitVector32.cs
- SignedPkcs7.cs
- FixedDocumentSequencePaginator.cs
- typedescriptorpermissionattribute.cs
- Size.cs
- DbConnectionStringCommon.cs
- IFlowDocumentViewer.cs
- UnionCodeGroup.cs
- TabletDevice.cs
- ListBindableAttribute.cs
- SelfIssuedAuthAsymmetricKey.cs
- GetWinFXPath.cs
- TreeSet.cs
- XmlSerializerFaultFormatter.cs
- ManagementQuery.cs
- SqlUtil.cs
- BinaryReader.cs
- TableNameAttribute.cs
- basecomparevalidator.cs
- SchemaNamespaceManager.cs
- DateTimeFormatInfo.cs
- Currency.cs
- GridViewRowPresenterBase.cs