Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / ExtractCollection.cs / 1305376 / ExtractCollection.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 TrackPoint to hold Extracts. /// [Serializable] public class ExtractCollection : List{ public ExtractCollection() { } public ExtractCollection(IEnumerable extracts) { // // 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 == extracts) throw new ArgumentNullException("extracts"); AddRange(extracts); } } } // 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 TrackPoint to hold Extracts. /// [Serializable] public class ExtractCollection : List{ public ExtractCollection() { } public ExtractCollection(IEnumerable extracts) { // // 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 == extracts) throw new ArgumentNullException("extracts"); AddRange(extracts); } } } // 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
- DesignerForm.cs
- ToolBar.cs
- ZeroOpNode.cs
- SqlExpander.cs
- XmlObjectSerializerWriteContextComplex.cs
- GridItem.cs
- FormViewUpdatedEventArgs.cs
- PerfService.cs
- ControlCachePolicy.cs
- SpecialTypeDataContract.cs
- CompositeCollectionView.cs
- HttpProfileGroupBase.cs
- SingleAnimationBase.cs
- StructuralCache.cs
- oledbmetadatacollectionnames.cs
- XmlSchemaAll.cs
- Control.cs
- ToolStripPanelSelectionGlyph.cs
- AppDomainFactory.cs
- HttpWriter.cs
- AccessibilityHelperForXpWin2k3.cs
- DescendantOverDescendantQuery.cs
- Vector3DValueSerializer.cs
- __ConsoleStream.cs
- BooleanConverter.cs
- DiscoveryMessageProperty.cs
- XpsS0ValidatingLoader.cs
- XPathNode.cs
- Speller.cs
- AuthenticateEventArgs.cs
- MSAAWinEventWrap.cs
- PairComparer.cs
- RbTree.cs
- TimeSpanParse.cs
- ToolStripComboBox.cs
- CatalogZone.cs
- RenderDataDrawingContext.cs
- ListMarkerSourceInfo.cs
- SQLUtility.cs
- DashStyle.cs
- CodeTypeMember.cs
- ObjectDataSourceStatusEventArgs.cs
- BindableTemplateBuilder.cs
- ReturnEventArgs.cs
- ZipIOLocalFileHeader.cs
- IUnknownConstantAttribute.cs
- OperationAbortedException.cs
- RelationshipNavigation.cs
- SyndicationElementExtension.cs
- RC2CryptoServiceProvider.cs
- TreeNodeBindingDepthConverter.cs
- FlowchartDesignerCommands.cs
- SQLRoleProvider.cs
- SimpleWebHandlerParser.cs
- RectangleConverter.cs
- GradientSpreadMethodValidation.cs
- EventLogPermissionAttribute.cs
- Transform.cs
- MetadataArtifactLoader.cs
- InvalidDataException.cs
- ObjectAnimationUsingKeyFrames.cs
- AccessibleObject.cs
- ResourceKey.cs
- PageCatalogPart.cs
- Array.cs
- CommonXSendMessage.cs
- DesignTimeSiteMapProvider.cs
- Message.cs
- UInt64.cs
- CustomErrorsSection.cs
- StatusBarItem.cs
- TextTreeExtractElementUndoUnit.cs
- ListenerElementsCollection.cs
- HtmlHistory.cs
- DataBindEngine.cs
- XmlQualifiedName.cs
- TypeConverterHelper.cs
- ImageList.cs
- _SecureChannel.cs
- baseaxisquery.cs
- DbXmlEnabledProviderManifest.cs
- UnmanagedHandle.cs
- DecoderBestFitFallback.cs
- ListItemConverter.cs
- ProcessActivityTreeOptions.cs
- AutoResizedEvent.cs
- PersonalizationState.cs
- RegexRunner.cs
- DocumentPageTextView.cs
- BaseComponentEditor.cs
- GuidelineSet.cs
- LoginName.cs
- PixelFormats.cs
- KnownBoxes.cs
- AccessibleObject.cs
- CacheAxisQuery.cs
- TextEditorSelection.cs
- XmlSignificantWhitespace.cs
- WriteableBitmap.cs
- TextBoxAutomationPeer.cs