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
- _CacheStreams.cs
- BinaryReader.cs
- GlyphElement.cs
- ComboBox.cs
- CaseStatementSlot.cs
- WebServiceClientProxyGenerator.cs
- KnowledgeBase.cs
- XmlDocumentFieldSchema.cs
- Command.cs
- RunInstallerAttribute.cs
- TaskFormBase.cs
- LocalizationComments.cs
- Container.cs
- SafeNativeMethodsCLR.cs
- SqlRemoveConstantOrderBy.cs
- UrlMappingCollection.cs
- SqlProviderServices.cs
- SmiContext.cs
- StructuredType.cs
- TransformerInfo.cs
- BookmarkEventArgs.cs
- HttpResponseInternalWrapper.cs
- DataBoundControl.cs
- VersionPair.cs
- DesignerDataConnection.cs
- TrustLevel.cs
- ProfileGroupSettingsCollection.cs
- TreeNodeMouseHoverEvent.cs
- _LocalDataStore.cs
- Point3DValueSerializer.cs
- SatelliteContractVersionAttribute.cs
- Internal.cs
- Journal.cs
- ProfileService.cs
- CodeCatchClause.cs
- ParallelQuery.cs
- Polyline.cs
- ExpanderAutomationPeer.cs
- CodeCastExpression.cs
- AutomationPattern.cs
- Part.cs
- WorkflowOperationBehavior.cs
- DataObject.cs
- RemoveFromCollection.cs
- CodeDOMUtility.cs
- Int32Animation.cs
- Panel.cs
- DBProviderConfigurationHandler.cs
- GridViewDeleteEventArgs.cs
- SectionRecord.cs
- TableRowCollection.cs
- MemberCollection.cs
- RoleGroupCollection.cs
- FieldToken.cs
- SmiTypedGetterSetter.cs
- X509Chain.cs
- FaultException.cs
- SoapFormatter.cs
- MultipleViewPattern.cs
- ScriptReferenceBase.cs
- PageBorderless.cs
- BindingBase.cs
- WS2007FederationHttpBindingElement.cs
- JsonSerializer.cs
- Repeater.cs
- WebBrowserUriTypeConverter.cs
- Size3DConverter.cs
- TemplateNameScope.cs
- SAPICategories.cs
- SourceLocation.cs
- TraceContextRecord.cs
- ThreadPool.cs
- InfoCardTraceRecord.cs
- SmtpAuthenticationManager.cs
- linebase.cs
- FigureParaClient.cs
- RegexWriter.cs
- PageCodeDomTreeGenerator.cs
- BigIntegerStorage.cs
- FacetValues.cs
- ErasingStroke.cs
- NetCodeGroup.cs
- FunctionQuery.cs
- SchemaCreator.cs
- TransactionScope.cs
- LingerOption.cs
- ToolStripItem.cs
- HtmlInputPassword.cs
- MasterPage.cs
- CommandDesigner.cs
- HebrewCalendar.cs
- TextRange.cs
- HashHelper.cs
- SortedList.cs
- SByte.cs
- AdPostCacheSubstitution.cs
- Binding.cs
- ByteStorage.cs
- TargetConverter.cs
- RenderingBiasValidation.cs