Example #1
0
        public static WorkThreadDictionary Get(Thread thread)
        {
            Contract.Requires <ArgumentNullException>(thread != null);
            object value = ThreadUnit.GetObject(thread);

            if (value == null || !(value is WorkThreadDictionary))
            {
                return(null);
            }
            return((WorkThreadDictionary)value);
        }