Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / ProcessThreadCollection.cs / 1305376 / ProcessThreadCollection.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Collections;
using System;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
///
/// [To be supplied.]
///
public class ProcessThreadCollection : ReadOnlyCollectionBase {
///
/// [To be supplied.]
///
protected ProcessThreadCollection() {
}
///
/// [To be supplied.]
///
public ProcessThreadCollection(ProcessThread[] processThreads) {
InnerList.AddRange(processThreads);
}
///
/// [To be supplied.]
///
public ProcessThread this[int index] {
get { return (ProcessThread)InnerList[index]; }
}
///
/// [To be supplied.]
///
public int Add(ProcessThread thread) {
return InnerList.Add(thread);
}
///
/// [To be supplied.]
///
public void Insert(int index, ProcessThread thread) {
InnerList.Insert(index, thread);
}
///
/// [To be supplied.]
///
public int IndexOf(ProcessThread thread) {
return InnerList.IndexOf(thread);
}
///
/// [To be supplied.]
///
public bool Contains(ProcessThread thread) {
return InnerList.Contains(thread);
}
///
/// [To be supplied.]
///
public void Remove(ProcessThread thread) {
InnerList.Remove(thread);
}
///
/// [To be supplied.]
///
public void CopyTo(ProcessThread[] array, int index) {
InnerList.CopyTo(array, index);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Collections;
using System;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
///
/// [To be supplied.]
///
public class ProcessThreadCollection : ReadOnlyCollectionBase {
///
/// [To be supplied.]
///
protected ProcessThreadCollection() {
}
///
/// [To be supplied.]
///
public ProcessThreadCollection(ProcessThread[] processThreads) {
InnerList.AddRange(processThreads);
}
///
/// [To be supplied.]
///
public ProcessThread this[int index] {
get { return (ProcessThread)InnerList[index]; }
}
///
/// [To be supplied.]
///
public int Add(ProcessThread thread) {
return InnerList.Add(thread);
}
///
/// [To be supplied.]
///
public void Insert(int index, ProcessThread thread) {
InnerList.Insert(index, thread);
}
///
/// [To be supplied.]
///
public int IndexOf(ProcessThread thread) {
return InnerList.IndexOf(thread);
}
///
/// [To be supplied.]
///
public bool Contains(ProcessThread thread) {
return InnerList.Contains(thread);
}
///
/// [To be supplied.]
///
public void Remove(ProcessThread thread) {
InnerList.Remove(thread);
}
///
/// [To be supplied.]
///
public void CopyTo(ProcessThread[] array, int index) {
InnerList.CopyTo(array, index);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Exceptions.cs
- SerializationStore.cs
- NamedPermissionSet.cs
- OrderByQueryOptionExpression.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ProgressBarBrushConverter.cs
- SeverityFilter.cs
- SpeechUI.cs
- ServiceModelSectionGroup.cs
- TextDecorationCollection.cs
- ContactManager.cs
- TraceSwitch.cs
- ImageField.cs
- BrowserDefinitionCollection.cs
- TrackingRecordPreFilter.cs
- ConfigUtil.cs
- IERequestCache.cs
- SecurityHelper.cs
- TableParagraph.cs
- Stroke.cs
- IssuedTokenClientElement.cs
- HtmlProps.cs
- _NegoState.cs
- WindowShowOrOpenTracker.cs
- XmlLoader.cs
- ProviderConnectionPointCollection.cs
- RowToParametersTransformer.cs
- SmtpTransport.cs
- XPathSingletonIterator.cs
- SlotInfo.cs
- InstanceStoreQueryResult.cs
- wgx_commands.cs
- RepeatButtonAutomationPeer.cs
- HTTPNotFoundHandler.cs
- AssociationEndMember.cs
- ManagedFilter.cs
- AttachInfo.cs
- SerializationFieldInfo.cs
- MemberExpression.cs
- SqlErrorCollection.cs
- FacetDescription.cs
- RepeaterItem.cs
- KeyProperty.cs
- RepeaterCommandEventArgs.cs
- BooleanExpr.cs
- PropertyMap.cs
- CollectionMarkupSerializer.cs
- Size3D.cs
- MessageSecurityOverMsmqElement.cs
- CLRBindingWorker.cs
- UserMapPath.cs
- Suspend.cs
- CommonDialog.cs
- Vector3DAnimation.cs
- CodeTypeConstructor.cs
- MeshGeometry3D.cs
- PathFigure.cs
- VirtualPathExtension.cs
- ReadWriteControlDesigner.cs
- TraceSection.cs
- GroupPartitionExpr.cs
- ValueSerializerAttribute.cs
- TextWriterTraceListener.cs
- DelegateBodyWriter.cs
- AddInServer.cs
- FixedSOMSemanticBox.cs
- OdbcConnectionHandle.cs
- FileStream.cs
- PrefixQName.cs
- ResourcePart.cs
- SettingsPropertyCollection.cs
- FigureParagraph.cs
- RegistryPermission.cs
- DrawingImage.cs
- PolyLineSegment.cs
- HttpListenerRequestTraceRecord.cs
- sqlnorm.cs
- Stopwatch.cs
- Literal.cs
- StylusLogic.cs
- RoleService.cs
- Int32Collection.cs
- DataTableMapping.cs
- HtmlInputHidden.cs
- FormatterConverter.cs
- ProtocolsConfigurationEntry.cs
- XmlWrappingWriter.cs
- ValueSerializer.cs
- wgx_render.cs
- AgileSafeNativeMemoryHandle.cs
- DeferrableContentConverter.cs
- RelationshipNavigation.cs
- ChangePasswordDesigner.cs
- ExtentKey.cs
- ProfileParameter.cs
- DynamicRendererThreadManager.cs
- LogRecordSequence.cs
- Pointer.cs
- HotSpotCollection.cs
- DataSourceView.cs