public static ICorDebugThread Wrap(Interop.CorDebug.ICorDebugThread objectToWrap) { if ((objectToWrap != null)) { return(new ICorDebugThread(objectToWrap)); } else { return(null); } }
public ICorDebugThread(Interop.CorDebug.ICorDebugThread wrappedObject) { this.wrappedObject = wrappedObject; ResourceManager.TrackCOMObject(wrappedObject, typeof(ICorDebugThread)); }