Exemplo n.º 1
0
        //! 在块中批量操作,最后才重新生成.
        //! 例: hlp.CombineRegen(delegate(){ .... });
        public void CombineRegen(GiAction action)
        {
            MgRegenLocker locker = new MgRegenLocker(this.CmdView());

            action();
            locker.Dispose();
        }
Exemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgRegenLocker obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 3
0
 //! 在块中批量操作,最后才重新生成.
 //! 例: hlp.CombineRegen(delegate(){ .... });
 public void CombineRegen(GiAction action)
 {
     MgRegenLocker locker = new MgRegenLocker(this.CmdView());
     action();
     locker.Dispose();
 }