18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdApLongTransactionReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
148 private void SwigDirectorConnect() {
149 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
151 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
153 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
155 if (SwigDerivedClassHasMethod(
"beginCheckOut", swigMethodTypes3))
157 if (SwigDerivedClassHasMethod(
"endCheckOut", swigMethodTypes4))
159 if (SwigDerivedClassHasMethod(
"beginCheckIn", swigMethodTypes5))
161 if (SwigDerivedClassHasMethod(
"endCheckIn", swigMethodTypes6))
163 if (SwigDerivedClassHasMethod(
"abortLongTransaction", swigMethodTypes7))
168 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
169 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
171 return hasDerivedMethod;
174 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
183 private IntPtr SwigDirectorMethodisA() {
190 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
196 private void SwigDirectorMethodbeginCheckOut(IntPtr arg0, global::System.IntPtr originList) {
198 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
199,
new OdDbObjectIdArray(originList,
false));
202 private void SwigDirectorMethodendCheckOut(IntPtr arg0) {
204 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
208 private void SwigDirectorMethodbeginCheckIn(IntPtr arg0) {
210 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
214 private void SwigDirectorMethodendCheckIn(IntPtr arg0) {
216 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
220 private void SwigDirectorMethodabortLongTransaction(IntPtr arg0) {
222 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
244 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
245 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
246 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
247 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbLongTransaction), typeof(OdDbObjectIdArray) };
248 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
249 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
250 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
251 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
static void OdApLongTransactionReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_0 delegate0, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_1 delegate1, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_2 delegate2, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_3 delegate3, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_4 delegate4, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_5 delegate5, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_6 delegate6, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_7 delegate7)