Exemplo n.º 1
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
     {
         swigDelegate0 = new SwigDelegateMgObject_0(SwigDirectorclone);
     }
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
     {
         swigDelegate1 = new SwigDelegateMgObject_1(SwigDirectorcopy);
     }
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
     {
         swigDelegate2 = new SwigDelegateMgObject_2(SwigDirectorrelease);
     }
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
     {
         swigDelegate3 = new SwigDelegateMgObject_3(SwigDirectoraddRef);
     }
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
     {
         swigDelegate4 = new SwigDelegateMgObject_4(SwigDirectorequals);
     }
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
     {
         swigDelegate5 = new SwigDelegateMgObject_5(SwigDirectorgetType);
     }
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
     {
         swigDelegate6 = new SwigDelegateMgObject_6(SwigDirectorisKindOf);
     }
     touchvgPINVOKE.MgObject_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6);
 }
Exemplo n.º 2
0
 private void SwigDirectorConnect()
 {
     if (SwigDerivedClassHasMethod("clone", swigMethodTypes0))
       swigDelegate0 = new SwigDelegateMgObject_0(SwigDirectorclone);
     if (SwigDerivedClassHasMethod("copy", swigMethodTypes1))
       swigDelegate1 = new SwigDelegateMgObject_1(SwigDirectorcopy);
     if (SwigDerivedClassHasMethod("release", swigMethodTypes2))
       swigDelegate2 = new SwigDelegateMgObject_2(SwigDirectorrelease);
     if (SwigDerivedClassHasMethod("addRef", swigMethodTypes3))
       swigDelegate3 = new SwigDelegateMgObject_3(SwigDirectoraddRef);
     if (SwigDerivedClassHasMethod("equals", swigMethodTypes4))
       swigDelegate4 = new SwigDelegateMgObject_4(SwigDirectorequals);
     if (SwigDerivedClassHasMethod("getType", swigMethodTypes5))
       swigDelegate5 = new SwigDelegateMgObject_5(SwigDirectorgetType);
     if (SwigDerivedClassHasMethod("isKindOf", swigMethodTypes6))
       swigDelegate6 = new SwigDelegateMgObject_6(SwigDirectorisKindOf);
     touchvgPINVOKE.MgObject_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6);
 }