public UnsafeNativeMethods.IMsoComponentManager GetProxy(long pCM)
 {
     if (this._proxy == null)
     {
         UnsafeNativeMethods.IMsoComponentManager objectForIUnknown = (UnsafeNativeMethods.IMsoComponentManager) Marshal.GetObjectForIUnknown((IntPtr) pCM);
         this._proxy = new ComponentManagerProxy(this, objectForIUnknown);
     }
     return this._proxy;
 }
 public UnsafeNativeMethods.IMsoComponentManager GetProxy(long pCM)
 {
     if (this._proxy == null)
     {
         UnsafeNativeMethods.IMsoComponentManager objectForIUnknown = (UnsafeNativeMethods.IMsoComponentManager)Marshal.GetObjectForIUnknown((IntPtr)pCM);
         this._proxy = new ComponentManagerProxy(this, objectForIUnknown);
     }
     return(this._proxy);
 }
示例#3
0
 internal void ClearComponentManager()
 {
     _proxy = null;
 }
示例#4
0
 /// <devdoc>
 /// </devdoc>
 internal void ClearComponentManager() {
     _proxy = null;
 }