public virtual void  Set(System.Object object_Renamed)
		{
            if (slots == null)
                slots = new SupportClass.WeakHashTable();

			slots[this] = object_Renamed;	
		}
Beispiel #2
0
 void Init()
 {
     if (slots == null)
     {
         slots = new SupportClass.WeakHashTable();
     }
 }
        public virtual void  Set(System.Object object_Renamed)
        {
            if (slots == null)
            {
                slots = new SupportClass.WeakHashTable();
            }

            slots[this] = object_Renamed;
        }
Beispiel #4
0
        public virtual void  Set(System.Object object_Renamed)
        {
            //+-- For Debuging
            if (SupportClass.CloseableThreadLocalProfiler.EnableCloseableThreadLocalProfiler == true)
            {
                lock (SupportClass.CloseableThreadLocalProfiler.Instances)
                {
                    SupportClass.CloseableThreadLocalProfiler.Instances.Add(new WeakReference(object_Renamed));
                }
            }
            //+--

            if (slots == null)
            {
                slots = new SupportClass.WeakHashTable();
            }

            slots[this] = object_Renamed;
        }
        public virtual void Set(System.Object object_Renamed)
        {
            //+-- For Debuging
            if (SupportClass.CloseableThreadLocalProfiler.EnableCloseableThreadLocalProfiler == true)
            {
                lock (SupportClass.CloseableThreadLocalProfiler.Instances)
                {
                    SupportClass.CloseableThreadLocalProfiler.Instances.Add(new WeakReference(object_Renamed));
                }
            }
            //+--

            if (slots == null)
                slots = new SupportClass.WeakHashTable();

            slots[this] = object_Renamed;
        }