Beispiel #1
0
        /// <summary>
        /// Gets the currently running thread
        /// </summary>
        /// <returns>The currently running thread</returns>
        public static QuartzThread Current()
        {
            QuartzThread CurrentThread = new QuartzThread();

            CurrentThread.Instance = Thread.CurrentThread;
            return(CurrentThread);
        }
Beispiel #2
0
 /// <summary>
 /// Gets the currently running thread
 /// </summary>
 /// <returns>The currently running thread</returns>
 public static QuartzThread Current()
 {
     QuartzThread CurrentThread = new QuartzThread();
     CurrentThread.Instance = Thread.CurrentThread;
     return CurrentThread;
 }