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
- XmlDataSourceNodeDescriptor.cs
- FirewallWrapper.cs
- WebEventCodes.cs
- StrongTypingException.cs
- MethodBody.cs
- SafeNativeMethodsMilCoreApi.cs
- FormsAuthentication.cs
- ToolTipAutomationPeer.cs
- CompositeKey.cs
- SynchronizedDispatch.cs
- Run.cs
- MarshalDirectiveException.cs
- AmbientLight.cs
- Type.cs
- EventMap.cs
- WebPartExportVerb.cs
- DbConnectionStringCommon.cs
- CompModSwitches.cs
- SafeThreadHandle.cs
- OrthographicCamera.cs
- Style.cs
- BitmapMetadata.cs
- ScrollViewerAutomationPeer.cs
- UnsafeNativeMethods.cs
- FormsAuthenticationCredentials.cs
- SpecialFolderEnumConverter.cs
- ToolStripCodeDomSerializer.cs
- BaseCodePageEncoding.cs
- TableItemProviderWrapper.cs
- HtmlTableCell.cs
- TcpTransportElement.cs
- ExecutionEngineException.cs
- TransformerTypeCollection.cs
- GenericEnumConverter.cs
- PasswordBoxAutomationPeer.cs
- SemaphoreSecurity.cs
- InputReport.cs
- MulticastOption.cs
- GeometryCollection.cs
- ModulesEntry.cs
- CompilationUnit.cs
- ToolStripItemTextRenderEventArgs.cs
- HebrewCalendar.cs
- TabPage.cs
- DataSourceXmlSerializer.cs
- Bidi.cs
- DES.cs
- OracleParameterBinding.cs
- PropertyMapper.cs
- CommandEventArgs.cs
- QueryableDataSourceHelper.cs
- ToolStripLocationCancelEventArgs.cs
- RegexReplacement.cs
- _HTTPDateParse.cs
- DataGridParentRows.cs
- SplashScreenNativeMethods.cs
- SweepDirectionValidation.cs
- NativeMethods.cs
- SpAudioStreamWrapper.cs
- ObjectToIdCache.cs
- PeerEndPoint.cs
- ThreadExceptionDialog.cs
- SQLStringStorage.cs
- MethodToken.cs
- Decorator.cs
- SafeProcessHandle.cs
- KeyboardNavigation.cs
- TemplateInstanceAttribute.cs
- X509CertificateRecipientClientCredential.cs
- InkCanvasSelection.cs
- LayoutInformation.cs
- httpstaticobjectscollection.cs
- DataGridState.cs
- ProfilePropertySettingsCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- CompilerParameters.cs
- httpstaticobjectscollection.cs
- AuthStoreRoleProvider.cs
- DataBoundLiteralControl.cs
- Point3DCollection.cs
- Char.cs
- ProfilePropertySettings.cs
- StylusSystemGestureEventArgs.cs
- X509KeyIdentifierClauseType.cs
- ConfigurationStrings.cs
- ControlDesigner.cs
- FileChangeNotifier.cs
- TemplateGroupCollection.cs
- EntityWrapper.cs
- DebugController.cs
- QueuePathDialog.cs
- DesignerActionGlyph.cs
- ObjectDataSource.cs
- DateTimePicker.cs
- ExtendLockAsyncResult.cs
- BasicExpressionVisitor.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- ScrollBar.cs
- XmlAttributeCollection.cs
- DataContractSet.cs