ProcessThreadCollection.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / Monitoring / system / Diagnosticts / ProcessThreadCollection.cs / 1 / 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);
        } 
 
    }
} 



                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK