private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("SetName", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateA_0(SwigDirectorSetName); } if (SwigDerivedClassHasMethod("SayHello", swigMethodTypes1)) { swigDelegate1 = new SwigDelegateA_1(SwigDirectorSayHello); } CSharpWrapperPINVOKE.A_director_connect(swigCPtr, swigDelegate0, swigDelegate1); }