Exemplo n.º 1
0
 private void SwigDirectorConnect() {
   if (SwigDerivedClassHasMethod("getTitle", swigMethodTypes0))
     swigDelegate0 = new SwigDelegateEmployee_0(SwigDirectorgetTitle);
   if (SwigDerivedClassHasMethod("getName", swigMethodTypes1))
     swigDelegate1 = new SwigDelegateEmployee_1(SwigDirectorgetName);
   if (SwigDerivedClassHasMethod("getPosition", swigMethodTypes2))
     swigDelegate2 = new SwigDelegateEmployee_2(SwigDirectorgetPosition);
   examplePINVOKE.Employee_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }
Exemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("getTitle", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateEmployee_0(SwigDirectorgetTitle);
     }
     if (SwigDerivedClassHasMethod("getName", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateEmployee_1(SwigDirectorgetName);
     }
     if (SwigDerivedClassHasMethod("getPosition", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateEmployee_2(SwigDirectorgetPosition);
     }
     examplePINVOKE.Employee_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2);
 }