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