17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
19 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
21 swigCPtr =
new HandleRef(
this, cPtr);
24 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
26 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 : this(
GlobalsPINVOKE.new_OdEdCommandStackReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
45 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
51 SwigDirectorConnect();
52 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
56 MemoryManager mMan = MemoryManager.GetMemoryManager();
57 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
97 MemoryManager mMan = MemoryManager.GetMemoryManager();
98 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
147 MemoryManager mMan = MemoryManager.GetMemoryManager();
148 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
172 private void SwigDirectorConnect() {
173 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
175 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
177 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
179 if (SwigDerivedClassHasMethod(
"commandAdded", swigMethodTypes3))
181 if (SwigDerivedClassHasMethod(
"commandWillBeRemoved", swigMethodTypes4))
183 if (SwigDerivedClassHasMethod(
"commandWillStart", swigMethodTypes5))
185 if (SwigDerivedClassHasMethod(
"commandEnded", swigMethodTypes6))
187 if (SwigDerivedClassHasMethod(
"commandCancelled", swigMethodTypes7))
189 if (SwigDerivedClassHasMethod(
"commandFailed", swigMethodTypes8))
191 if (SwigDerivedClassHasMethod(
"unknownCommand", swigMethodTypes9))
193 GlobalsPINVOKE.
OdEdCommandStackReactor_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9);
196 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
197 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);
199 return hasDerivedMethod;
202 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
206 (OdRxClass)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdRxClass),protocolClass,
false)
211 private IntPtr SwigDirectorMethodisA() {
214 OdRxClass.getCPtr(
isA()).Handle
218 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
224 private void SwigDirectorMethodcommandAdded(IntPtr pCommand) {
226 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
230 private void SwigDirectorMethodcommandWillBeRemoved(IntPtr pCommand) {
232 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
236 private void SwigDirectorMethodcommandWillStart(IntPtr pCommand, IntPtr pCmdCtx) {
238 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
240 (OdEdCommandContext)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandContext),pCmdCtx,
false)
244 private void SwigDirectorMethodcommandEnded(IntPtr pCommand, IntPtr pCmdCtx) {
246 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
248 (OdEdCommandContext)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandContext),pCmdCtx,
false)
252 private void SwigDirectorMethodcommandCancelled(IntPtr pCommand, IntPtr pCmdCtx) {
254 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
256 (OdEdCommandContext)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandContext),pCmdCtx,
false)
260 private void SwigDirectorMethodcommandFailed(IntPtr pCommand, IntPtr pCmdCtx) {
262 (OdEdCommand)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommand),pCommand,
false)
264 (OdEdCommandContext)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandContext),pCmdCtx,
false)
268 private IntPtr SwigDirectorMethodunknownCommand([MarshalAs(UnmanagedType.LPWStr)]
String commandName, IntPtr pCmdCtx) {
270 (OdEdCommandContext)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdEdCommandContext),pCmdCtx,
false)
296 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
297 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
298 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
299 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdEdCommand) };
300 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdEdCommand) };
301 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdEdCommand), typeof(OdEdCommandContext) };
302 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdEdCommand), typeof(OdEdCommandContext) };
303 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(OdEdCommand), typeof(OdEdCommandContext) };
304 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(OdEdCommand), typeof(OdEdCommandContext) };
305 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
String), typeof(OdEdCommandContext) };
static void OdEdCommandStackReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_0 delegate0, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_1 delegate1, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_2 delegate2, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_3 delegate3, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_4 delegate4, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_5 delegate5, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_6 delegate6, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_7 delegate7, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_8 delegate8, OdEdCommandStackReactor.SwigDelegateOdEdCommandStackReactor_9 delegate9)