public static T GetObject <T>(this Thread key) { object g_pState = ThreadUtils.GetObject(key); if (g_pState == null) { return(default(T)); } return((T)g_pState); }
public static T GetObject <T>() { Thread g_pThread = Thread.CurrentThread; return(ThreadUtils.GetObject <T>(g_pThread)); }
public static object GetObject() { Thread g_pThread = Thread.CurrentThread; return(ThreadUtils.GetObject(g_pThread)); }