Example #1
0
        /// <summary>
        /// call Init() to create a single instance of this class
        /// </summary>
        protected Resources()
        {
            systemEventCounters = new SystemEventCounters();

            Mailboxes      = new System.Collections.ArrayList(10);
            Threads        = new List <IThread>(10);
            Pools          = new System.Collections.ArrayList(10);
            Loggers        = new List <ILogger>(10);
            DataGenerators = new List <IDataGenerator>(10);
            TimerLists     = new List <IResourceTimerList>(5);
            ThreadPools    = new System.Collections.ArrayList(2);
            Producers      = new List <IResourceProducer>(5);
            Verifiers      = new List <IResourceDataVerifier>(10);
        }
Example #2
0
        /// <summary>
        /// call Init() to create a single instance of this class 
        /// </summary>
        protected Resources()
        {
            systemEventCounters = new SystemEventCounters();

            Mailboxes = new System.Collections.ArrayList(10);
            Threads = new List<IThread>(10);
            Pools = new System.Collections.ArrayList(10);
            Loggers = new List<ILogger>(10);
            DataGenerators = new List<IDataGenerator>(10);
            TimerLists = new List<IResourceTimerList>(5);
            ThreadPools = new System.Collections.ArrayList(2);
            Producers = new List<IResourceProducer>(5);
            Verifiers = new List<IResourceDataVerifier>(10);
        }