19 private Object locker =
new Object();
20 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
31 protected override void Dispose(
bool disposing) {
33 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
38 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
40 base.Dispose(disposing);
45 : this(
PCADGlobalsPINVOKE.new_CFxDocumentManagerReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
47 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
53 SwigDirectorConnect();
54 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
155 private void SwigDirectorConnect() {
156 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
158 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
160 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
162 if (SwigDerivedClassHasMethod(
"DocumentCreateStarted", swigMethodTypes3))
164 if (SwigDerivedClassHasMethod(
"DocumentCreated", swigMethodTypes4))
166 if (SwigDerivedClassHasMethod(
"DocumentToBeDestroyed", swigMethodTypes5))
168 if (SwigDerivedClassHasMethod(
"DocumentDestroyed", swigMethodTypes6))
170 if (SwigDerivedClassHasMethod(
"DatabaseAttached", swigMethodTypes7))
172 if (SwigDerivedClassHasMethod(
"DatabaseDetached", swigMethodTypes8))
174 if (SwigDerivedClassHasMethod(
"DocumentToBeActivated", swigMethodTypes9))
176 if (SwigDerivedClassHasMethod(
"DocumentToBeDeactivated", swigMethodTypes10))
178 if (SwigDerivedClassHasMethod(
"DocumentActivated", swigMethodTypes11))
180 if (SwigDerivedClassHasMethod(
"DocumentCreateCanceled", swigMethodTypes12))
182 if (SwigDerivedClassHasMethod(
"DocumentBecameCurrent", swigMethodTypes13))
184 if (SwigDerivedClassHasMethod(
"DocumentActivationModified", swigMethodTypes14))
186 if (SwigDerivedClassHasMethod(
"DocumentPreOpen", swigMethodTypes15))
188 PCADGlobalsPINVOKE.
CFxDocumentManagerReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12, swigDelegate13, swigDelegate14, swigDelegate15);
191 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
192 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);
194 return hasDerivedMethod;
197 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
206 private IntPtr SwigDirectorMethodisA() {
213 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
219 private void SwigDirectorMethodDocumentCreateStarted(global::System.IntPtr pDocCreating) {
220 DocumentCreateStarted((pDocCreating == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDocCreating, false));
223 private void SwigDirectorMethodDocumentCreated(global::System.IntPtr pDocCreating) {
224 DocumentCreated((pDocCreating == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDocCreating, false));
227 private void SwigDirectorMethodDocumentToBeDestroyed(global::System.IntPtr pDocToDestroy) {
228 DocumentToBeDestroyed((pDocToDestroy == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDocToDestroy, false));
231 private void SwigDirectorMethodDocumentDestroyed(global::System.IntPtr pDocToDestroyed, global::System.IntPtr strFileName) {
232 DocumentDestroyed((pDocToDestroyed == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDocToDestroyed, false), new CFxString(strFileName, false));
235 private void SwigDirectorMethodDatabaseAttached(global::System.IntPtr pDoc) {
236 DatabaseAttached((pDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDoc, false));
239 private void SwigDirectorMethodDatabaseDetached(global::System.IntPtr pDoc) {
240 DatabaseDetached((pDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDoc, false));
243 private void SwigDirectorMethodDocumentToBeActivated(global::System.IntPtr pActivatingDoc) {
244 DocumentToBeActivated((pActivatingDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pActivatingDoc, false));
247 private void SwigDirectorMethodDocumentToBeDeactivated(global::System.IntPtr pDeActivatedDoc) {
248 DocumentToBeDeactivated((pDeActivatedDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDeActivatedDoc, false));
251 private void SwigDirectorMethodDocumentActivated(global::System.IntPtr pActivatedDoc) {
252 DocumentActivated((pActivatedDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pActivatedDoc, false));
255 private void SwigDirectorMethodDocumentCreateCanceled(global::System.IntPtr pDocCreateCancelled) {
256 DocumentCreateCanceled((pDocCreateCancelled == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDocCreateCancelled, false));
259 private void SwigDirectorMethodDocumentBecameCurrent(global::System.IntPtr pDoc) {
263 private void SwigDirectorMethodDocumentActivationModified(
bool bActivation) {
267 private void SwigDirectorMethodDocumentPreOpen(global::System.IntPtr pDoc, global::System.IntPtr strFileName,
int codePage,
int openFlags) {
268 DocumentPreOpen((pDoc == global::System.IntPtr.Zero) ?
null : new CFxDocument(pDoc, false), new CFxString(strFileName, false), codePage, openFlags);
305 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
306 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
307 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
308 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(CFxDocument) };
309 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(CFxDocument) };
310 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(CFxDocument) };
311 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(CFxDocument), typeof(CFxString) };
312 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(CFxDocument) };
313 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(CFxDocument) };
314 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(CFxDocument) };
315 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(CFxDocument) };
316 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(CFxDocument) };
317 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { typeof(CFxDocument) };
318 private static global::System.Type[] swigMethodTypes13 =
new global::System.Type[] { typeof(CFxDocument) };
319 private static global::System.Type[] swigMethodTypes14 =
new global::System.Type[] { typeof(
bool) };
320 private static global::System.Type[] swigMethodTypes15 =
new global::System.Type[] { typeof(CFxDocument), typeof(CFxString), typeof(
int), typeof(
int) };
static void CFxDocumentManagerReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_0 delegate0, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_1 delegate1, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_2 delegate2, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_3 delegate3, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_4 delegate4, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_5 delegate5, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_6 delegate6, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_7 delegate7, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_8 delegate8, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_9 delegate9, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_10 delegate10, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_11 delegate11, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_12 delegate12, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_13 delegate13, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_14 delegate14, CFxDocumentManagerReactor.SwigDelegateCFxDocumentManagerReactor_15 delegate15)