コード例 #1
0
 private void InitializeUnmanagedSpecificApis(Type importedApis)
 {
     this.nmqiMultiBufMQPut  = Delegate.CreateDelegate(typeof(nmqiMultiBufMQPut_Delegate), importedApis.GetMethod("nmqiMultiBufMQPut")) as nmqiMultiBufMQPut_Delegate;
     this.nmqiMultiBufMQPut1 = Delegate.CreateDelegate(typeof(nmqiMultiBufMQPut1_Delegate), importedApis.GetMethod("nmqiMultiBufMQPut1")) as nmqiMultiBufMQPut1_Delegate;
     this.zstSPI             = Delegate.CreateDelegate(typeof(zstSPI_Delegate), importedApis.GetMethod("zstSPI")) as zstSPI_Delegate;
     this.zstSPINewHObj      = Delegate.CreateDelegate(typeof(zstSPINewHObj_Delegate), importedApis.GetMethod("zstSPINewHObj")) as zstSPINewHObj_Delegate;
     this.zstMQGET           = Delegate.CreateDelegate(typeof(zstMQGET_Delegate), importedApis.GetMethod("zstMQGET")) as zstMQGET_Delegate;
 }
コード例 #2
0
 private void InitializeUnmanagedXASpecificApis(Type importedApis)
 {
     this.zstSPI        = Delegate.CreateDelegate(typeof(zstSPI_Delegate), importedApis.GetMethod("zstSPI")) as zstSPI_Delegate;
     this.zstSPINewHObj = Delegate.CreateDelegate(typeof(zstSPINewHObj_Delegate), importedApis.GetMethod("zstSPINewHObj")) as zstSPINewHObj_Delegate;
     this.zstMQGET      = Delegate.CreateDelegate(typeof(zstMQGET_Delegate), importedApis.GetMethod("zstMQGET")) as zstMQGET_Delegate;
 }