Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / RunTime / Tracking / TrackingAnnotationCollection.cs / 1305376 / TrackingAnnotationCollection.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
{
///
/// Used by Location to hold Conditions.
///
///
/// Used by TrackingExtract and TrackPoint to hold annotations.
///
[Serializable]
public class TrackingAnnotationCollection : List
{
public TrackingAnnotationCollection()
{
}
public TrackingAnnotationCollection(IEnumerable annotations)
{
//
// 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 == annotations)
throw new ArgumentNullException("annotations");
AddRange(annotations);
}
}
}
// 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
{
///
/// Used by Location to hold Conditions.
///
///
/// Used by TrackingExtract and TrackPoint to hold annotations.
///
[Serializable]
public class TrackingAnnotationCollection : List
{
public TrackingAnnotationCollection()
{
}
public TrackingAnnotationCollection(IEnumerable annotations)
{
//
// 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 == annotations)
throw new ArgumentNullException("annotations");
AddRange(annotations);
}
}
}
// 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
- BufferedGraphics.cs
- CodeDOMProvider.cs
- AutomationPeer.cs
- ItemsChangedEventArgs.cs
- ValuePattern.cs
- StartUpEventArgs.cs
- MasterPageCodeDomTreeGenerator.cs
- QualifiedCellIdBoolean.cs
- TypefaceMap.cs
- XmlTypeMapping.cs
- WebRequestModulesSection.cs
- LoginCancelEventArgs.cs
- ModelUIElement3D.cs
- TreeNode.cs
- TableStyle.cs
- DebugView.cs
- RuleSettingsCollection.cs
- SiteMapHierarchicalDataSourceView.cs
- InputProcessorProfiles.cs
- SplitterPanel.cs
- XPathPatternParser.cs
- BitmapEffectGroup.cs
- IndexedWhereQueryOperator.cs
- FileSystemEventArgs.cs
- InputEventArgs.cs
- assemblycache.cs
- ObjectHandle.cs
- LookupNode.cs
- KeyedPriorityQueue.cs
- CookieProtection.cs
- Application.cs
- StateMachineHelpers.cs
- ObjectPropertyMapping.cs
- DataGridViewDataErrorEventArgs.cs
- RichTextBox.cs
- FamilyTypefaceCollection.cs
- SafeNativeMethods.cs
- DiffuseMaterial.cs
- UpdatePanelTrigger.cs
- ApplyImportsAction.cs
- ApplicationSecurityInfo.cs
- ServiceDebugBehavior.cs
- WebBodyFormatMessageProperty.cs
- XsltSettings.cs
- SortedDictionary.cs
- ArraySortHelper.cs
- SafeSecurityHelper.cs
- InfoCardSchemas.cs
- RC2.cs
- OleServicesContext.cs
- InlinedLocationReference.cs
- tabpagecollectioneditor.cs
- EncoderParameter.cs
- ConnectionConsumerAttribute.cs
- DataGrid.cs
- SqlReferenceCollection.cs
- XmlElementAttributes.cs
- Typeface.cs
- CompositeScriptReference.cs
- SevenBitStream.cs
- ZipIOModeEnforcingStream.cs
- MimeMapping.cs
- PageEventArgs.cs
- PageAction.cs
- StringWriter.cs
- FrameSecurityDescriptor.cs
- OdbcError.cs
- Config.cs
- QuestionEventArgs.cs
- CacheAxisQuery.cs
- Gdiplus.cs
- BypassElementCollection.cs
- PropertyItem.cs
- CompositeFontParser.cs
- BitmapEffectState.cs
- EventData.cs
- DrawingContextWalker.cs
- TextComposition.cs
- TextDecorationCollection.cs
- Matrix3D.cs
- WrappedKeySecurityToken.cs
- SafeViewOfFileHandle.cs
- ProxyGenerator.cs
- EnvironmentPermission.cs
- DataGridViewMethods.cs
- XpsPartBase.cs
- XmlConvert.cs
- AssemblyAttributes.cs
- DemultiplexingDispatchMessageFormatter.cs
- Span.cs
- UIElement.cs
- IArgumentProvider.cs
- FlowchartSizeFeature.cs
- Deflater.cs
- CodeAttributeDeclarationCollection.cs
- InfiniteTimeSpanConverter.cs
- LogicalTreeHelper.cs
- FragmentNavigationEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- QueryResponse.cs