Ejemplo n.º 1
0
        /// <summary>
        /// Retrieves the Thread Context of the thread that the event occured on.
        /// </summary>
        public INativeContext GetThreadContext(int threadId)
        {
            INativeContext context = NativeContextAllocator.Allocate();

            GetThreadContext(threadId, context);
            return(context);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Retrieves the Thread Context of the thread that the event occured on.
 /// </summary>
 public INativeContext GetCurrentContext()
 {       
     INativeContext context = NativeContextAllocator.Allocate();
     GetCurrentContext(context);
     return context;
 }