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
- HtmlTableRow.cs
- ExceptionUtility.cs
- SspiWrapper.cs
- WorkflowMessageEventHandler.cs
- EmptyEnumerable.cs
- SqlClientWrapperSmiStreamChars.cs
- RoleGroupCollection.cs
- FieldMetadata.cs
- ConfigurationValue.cs
- DbgUtil.cs
- RegisteredScript.cs
- SQLInt16Storage.cs
- XmlAnyElementAttributes.cs
- AsyncResult.cs
- PointConverter.cs
- _LocalDataStoreMgr.cs
- LicenseException.cs
- SapiRecognizer.cs
- ErrorsHelper.cs
- XPathChildIterator.cs
- InitializationEventAttribute.cs
- RedirectionProxy.cs
- SignatureToken.cs
- SQLInt16.cs
- FormViewDeletedEventArgs.cs
- BufferModesCollection.cs
- ValueExpressions.cs
- BlockCollection.cs
- AccessorTable.cs
- PlainXmlDeserializer.cs
- ChineseLunisolarCalendar.cs
- StylusCaptureWithinProperty.cs
- NonParentingControl.cs
- CAGDesigner.cs
- ListView.cs
- UriSection.cs
- ShellProvider.cs
- ToolStrip.cs
- QueryLifecycle.cs
- MiniParameterInfo.cs
- PageContentCollection.cs
- WebPartZone.cs
- SchemaNamespaceManager.cs
- VectorCollectionValueSerializer.cs
- PixelFormat.cs
- MachineSettingsSection.cs
- XamlTemplateSerializer.cs
- TypeToStringValueConverter.cs
- TimeSpanFormat.cs
- TypeReference.cs
- HostedController.cs
- FastEncoderWindow.cs
- SiteMapNode.cs
- DoubleLink.cs
- TemplateBuilder.cs
- XmlComplianceUtil.cs
- StorageConditionPropertyMapping.cs
- FieldDescriptor.cs
- ServiceDeploymentInfo.cs
- WebPartDescription.cs
- SchemaImporterExtension.cs
- ListComponentEditorPage.cs
- DescendentsWalker.cs
- DelegatedStream.cs
- TimeIntervalCollection.cs
- WindowsBrush.cs
- PeerNearMe.cs
- SqlDelegatedTransaction.cs
- FormViewDeleteEventArgs.cs
- Configuration.cs
- EnumerableRowCollection.cs
- TypeGeneratedEventArgs.cs
- EmptyEnumerable.cs
- ReferenceConverter.cs
- AppModelKnownContentFactory.cs
- PermissionAttributes.cs
- UnsafeNativeMethods.cs
- DependencySource.cs
- DesignerInterfaces.cs
- WindowsRegion.cs
- StateRuntime.cs
- TrackingCondition.cs
- Bits.cs
- XPathDocument.cs
- DataBindingCollectionEditor.cs
- SQLDecimal.cs
- XmlSerializerFormatAttribute.cs
- PropertyGeneratedEventArgs.cs
- CompensatableSequenceActivity.cs
- VerificationAttribute.cs
- ControllableStoryboardAction.cs
- VisualStyleTypesAndProperties.cs
- ObjectDataSourceStatusEventArgs.cs
- List.cs
- EastAsianLunisolarCalendar.cs
- PointKeyFrameCollection.cs
- BuildManagerHost.cs
- RightsManagementInformation.cs
- ApplicationSecurityInfo.cs
- CollectionConverter.cs