Пример #1
0
 public static ICorDebugClass Wrap(Interop.CorDebug.ICorDebugClass objectToWrap)
 {
     if ((objectToWrap != null))
     {
         return(new ICorDebugClass(objectToWrap));
     }
     else
     {
         return(null);
     }
 }
Пример #2
0
 public ICorDebugClass(Interop.CorDebug.ICorDebugClass wrappedObject)
 {
     this.wrappedObject = wrappedObject;
     ResourceManager.TrackCOMObject(wrappedObject, typeof(ICorDebugClass));
 }