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
- SocketPermission.cs
- PropertyPath.cs
- LoginCancelEventArgs.cs
- AutomationProperties.cs
- InternalCache.cs
- MSAAWinEventWrap.cs
- Error.cs
- GACMembershipCondition.cs
- SqlMethodAttribute.cs
- Comparer.cs
- TableCell.cs
- InheritanceAttribute.cs
- SchemaObjectWriter.cs
- HttpPostServerProtocol.cs
- RequestSecurityTokenResponse.cs
- NavigationExpr.cs
- BodyGlyph.cs
- TypeLoadException.cs
- XmlILIndex.cs
- DataGridColumnCollection.cs
- MetaColumn.cs
- ManipulationVelocities.cs
- SystemColorTracker.cs
- Propagator.cs
- OdbcReferenceCollection.cs
- WorkflowMarkupSerializationManager.cs
- RouteCollection.cs
- StackBuilderSink.cs
- RuleSettings.cs
- FileEnumerator.cs
- ModulesEntry.cs
- XamlVector3DCollectionSerializer.cs
- PrintControllerWithStatusDialog.cs
- SecurityDescriptor.cs
- InternalConfigHost.cs
- ServiceEndpoint.cs
- ReadOnlyDataSourceView.cs
- Relationship.cs
- MultipleViewProviderWrapper.cs
- EntityDataSourceWrapperCollection.cs
- TableRowCollection.cs
- IIS7UserPrincipal.cs
- PeekCompletedEventArgs.cs
- HandlerBase.cs
- ServiceProviders.cs
- TextPattern.cs
- HttpConfigurationSystem.cs
- TextTrailingCharacterEllipsis.cs
- TrackingLocation.cs
- BackgroundFormatInfo.cs
- DesignTimeDataBinding.cs
- VScrollProperties.cs
- TypeListConverter.cs
- LineBreak.cs
- ForeignKeyConstraint.cs
- CellParaClient.cs
- WhitespaceRuleReader.cs
- KeyValueConfigurationCollection.cs
- ProxyAttribute.cs
- ComponentResourceKeyConverter.cs
- Int64AnimationUsingKeyFrames.cs
- JsonDeserializer.cs
- OleDbMetaDataFactory.cs
- OdbcErrorCollection.cs
- MatrixAnimationUsingPath.cs
- KnownTypesHelper.cs
- TextTreePropertyUndoUnit.cs
- WebPartEditVerb.cs
- FileRecordSequenceHelper.cs
- ThemeDirectoryCompiler.cs
- UniqueEventHelper.cs
- BufferModesCollection.cs
- DesignerVerbToolStripMenuItem.cs
- CompoundFileStorageReference.cs
- FrameworkRichTextComposition.cs
- WorkerRequest.cs
- Char.cs
- SqlUtil.cs
- XmlILStorageConverter.cs
- ActivityBuilderHelper.cs
- ColorTransformHelper.cs
- FormClosingEvent.cs
- ConfigXmlSignificantWhitespace.cs
- CompilerErrorCollection.cs
- ServiceDescriptionData.cs
- OracleCommandSet.cs
- TraceContextRecord.cs
- LineGeometry.cs
- BrowserCapabilitiesCompiler.cs
- RelatedView.cs
- DeviceFilterDictionary.cs
- SchemaContext.cs
- TimerElapsedEvenArgs.cs
- WebPartConnectionsDisconnectVerb.cs
- ChtmlCommandAdapter.cs
- ExpandCollapseProviderWrapper.cs
- DiagnosticTraceSource.cs
- TypedAsyncResult.cs
- ListChunk.cs
- ExpressionConverter.cs