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
- DataService.cs
- BasicCellRelation.cs
- FrameSecurityDescriptor.cs
- Part.cs
- WinCategoryAttribute.cs
- DbConnectionPoolOptions.cs
- NullReferenceException.cs
- sitestring.cs
- GridEntry.cs
- DocumentEventArgs.cs
- CreateUserWizardAutoFormat.cs
- SupportingTokenChannel.cs
- Query.cs
- KnownTypes.cs
- DispatcherEventArgs.cs
- FontDriver.cs
- NativeMethods.cs
- Repeater.cs
- FieldToken.cs
- ServiceManager.cs
- WebScriptMetadataMessage.cs
- ParameterBuilder.cs
- CryptoConfig.cs
- DataGridViewRowPostPaintEventArgs.cs
- DetailsViewInsertedEventArgs.cs
- BulletDecorator.cs
- SamlDoNotCacheCondition.cs
- TdsRecordBufferSetter.cs
- ExpressionBuilderCollection.cs
- SourceChangedEventArgs.cs
- KernelTypeValidation.cs
- ListBoxItem.cs
- ToolBar.cs
- controlskin.cs
- CompilerInfo.cs
- EncryptedData.cs
- ScrollData.cs
- IteratorDescriptor.cs
- UrlMapping.cs
- ScrollContentPresenter.cs
- TraceUtils.cs
- ThrowHelper.cs
- WebPartConnectionsCancelEventArgs.cs
- MemoryRecordBuffer.cs
- DetailsViewPageEventArgs.cs
- ErrorEventArgs.cs
- Model3D.cs
- ParseElementCollection.cs
- SessionStateModule.cs
- ClientProxyGenerator.cs
- ClientSettingsSection.cs
- FactoryId.cs
- XmlSchemaAnnotation.cs
- InvokeMethod.cs
- WSHttpBindingBase.cs
- BindingList.cs
- MutexSecurity.cs
- FolderBrowserDialog.cs
- AccessViolationException.cs
- BindToObject.cs
- SqlDataRecord.cs
- ServiceProviders.cs
- DataExpression.cs
- SoapSchemaExporter.cs
- base64Transforms.cs
- NumberFormatInfo.cs
- HtmlWindow.cs
- ProcessModule.cs
- WeakHashtable.cs
- ShaperBuffers.cs
- NumberFormatter.cs
- IpcChannel.cs
- NavigationCommands.cs
- StyleXamlTreeBuilder.cs
- OrderedHashRepartitionEnumerator.cs
- Image.cs
- ButtonAutomationPeer.cs
- XhtmlBasicLiteralTextAdapter.cs
- MetadataArtifactLoaderFile.cs
- XPathNodeIterator.cs
- TailPinnedEventArgs.cs
- EntityRecordInfo.cs
- DataGridTextBox.cs
- EntityReference.cs
- DSACryptoServiceProvider.cs
- ProtocolElement.cs
- StrongName.cs
- JsonReader.cs
- XDRSchema.cs
- DataGridColumnCollection.cs
- InvalidCastException.cs
- Error.cs
- BulletChrome.cs
- WindowsStatic.cs
- DataQuery.cs
- SettingsAttributeDictionary.cs
- DynamicPropertyReader.cs
- VisualStyleElement.cs
- TcpDuplicateContext.cs
- EnglishPluralizationService.cs