Beispiel #1
0
        public IEnumerable <MDbgFrame> EnumerateFrames(MDbgThread thread)
        {
            IMDbgFrameFactory factory;

            if (thread.CorThread.IsV3)
            {
                factory = new MDbgV3FrameFactory();
                return(factory.EnumerateFrames(thread));
            }
            else
            {
                factory = new MDbgV2FrameFactory();
                return(factory.EnumerateFrames(thread));
            }
        }
Beispiel #2
0
 public IEnumerable<MDbgFrame> EnumerateFrames(MDbgThread thread)
 {
     IMDbgFrameFactory factory;
     if (thread.CorThread.IsV3)
     {
         factory = new MDbgV3FrameFactory();
         return factory.EnumerateFrames(thread);
     }
     else
     {
         factory = new MDbgV2FrameFactory();
         return factory.EnumerateFrames(thread);
     }
 }