Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingConditionCollection.cs / 1305376 / TrackingConditionCollection.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 { [Serializable] public class TrackingConditionCollection : List{ public TrackingConditionCollection() { } public TrackingConditionCollection(IEnumerable conditions) { // // 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 == conditions) throw new ArgumentNullException("conditions"); AddRange(conditions); } } } // 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 { [Serializable] public class TrackingConditionCollection : List { public TrackingConditionCollection() { } public TrackingConditionCollection(IEnumerable conditions) { // // 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 == conditions) throw new ArgumentNullException("conditions"); AddRange(conditions); } } } // 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
- SqlRetyper.cs
- XmlTypeMapping.cs
- ServicePointManagerElement.cs
- UInt32Storage.cs
- Model3DGroup.cs
- JapaneseCalendar.cs
- util.cs
- SqlXml.cs
- VirtualizingStackPanel.cs
- ProviderConnectionPointCollection.cs
- XmlCharacterData.cs
- ExpressionBindings.cs
- CompilerState.cs
- MenuItemBindingCollection.cs
- EndOfStreamException.cs
- ADRoleFactory.cs
- HostExecutionContextManager.cs
- PixelShader.cs
- CorrelationService.cs
- ProcessModelInfo.cs
- ResXResourceWriter.cs
- DBAsyncResult.cs
- SqlInternalConnectionSmi.cs
- ManifestResourceInfo.cs
- EntityPropertyMappingAttribute.cs
- Vector.cs
- WebReferencesBuildProvider.cs
- PolicyReader.cs
- ComplexLine.cs
- PeerContact.cs
- ProviderUtil.cs
- DataGridViewColumn.cs
- BuildProviderCollection.cs
- TagNameToTypeMapper.cs
- FixedSOMLineCollection.cs
- PaginationProgressEventArgs.cs
- Matrix.cs
- ColumnTypeConverter.cs
- IssuedTokenServiceElement.cs
- Table.cs
- SettingsPropertyWrongTypeException.cs
- BitmapSizeOptions.cs
- StickyNoteHelper.cs
- ValidatedControlConverter.cs
- SystemUnicastIPAddressInformation.cs
- PopupControlService.cs
- __Error.cs
- AppDomainAttributes.cs
- SmtpLoginAuthenticationModule.cs
- XsdBuildProvider.cs
- CommandLineParser.cs
- FormatControl.cs
- Internal.cs
- WebConfigManager.cs
- TreeNodeStyle.cs
- TimeoutValidationAttribute.cs
- AppAction.cs
- SafeProcessHandle.cs
- ErrorProvider.cs
- WCFModelStrings.Designer.cs
- ExpandableObjectConverter.cs
- XmlDataCollection.cs
- TypographyProperties.cs
- TraceEventCache.cs
- CounterCreationDataCollection.cs
- TextStore.cs
- XmlChildNodes.cs
- ConnectionManagementElementCollection.cs
- ParallelTimeline.cs
- TextRange.cs
- ButtonRenderer.cs
- SerialPinChanges.cs
- SqlNodeAnnotations.cs
- figurelength.cs
- CultureTable.cs
- StrongNameIdentityPermission.cs
- FormsAuthenticationUser.cs
- ScriptControl.cs
- ClientSettingsStore.cs
- Viewport3DVisual.cs
- HttpRawResponse.cs
- ValueSerializer.cs
- DockingAttribute.cs
- ArgumentException.cs
- SectionVisual.cs
- OleDbConnection.cs
- UnsupportedPolicyOptionsException.cs
- PrimarySelectionAdorner.cs
- ConnectionStringSettings.cs
- CapabilitiesPattern.cs
- RtfNavigator.cs
- RSAPKCS1SignatureDeformatter.cs
- TextMetrics.cs
- TextEditorTables.cs
- TableLayoutCellPaintEventArgs.cs
- PropertyValueUIItem.cs
- WindowsToolbarItemAsMenuItem.cs
- NullableDoubleAverageAggregationOperator.cs
- ViewBox.cs
- AuthenticationModuleElement.cs