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_CFxCommand(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
47 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
50 mTr.AddObject(
new CFxCommand(swigCPtr.Handle,
true));
53 SwigDirectorConnect();
54 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
94 public virtual void Help() {
116 private void SwigDirectorConnect() {
117 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
119 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
121 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
123 if (SwigDerivedClassHasMethod(
"globalName", swigMethodTypes3))
125 if (SwigDerivedClassHasMethod(
"localName", swigMethodTypes4))
127 if (SwigDerivedClassHasMethod(
"module", swigMethodTypes5))
129 if (SwigDerivedClassHasMethod(
"undefine", swigMethodTypes6))
131 if (SwigDerivedClassHasMethod(
"flags", swigMethodTypes7))
133 if (SwigDerivedClassHasMethod(
"Execute", swigMethodTypes8))
135 if (SwigDerivedClassHasMethod(
"Help", swigMethodTypes9))
137 if (SwigDerivedClassHasMethod(
"GetHelpId", swigMethodTypes10))
139 if (SwigDerivedClassHasMethod(
"displayName", swigMethodTypes11))
141 PCADGlobalsPINVOKE.
CFxCommand_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11);
144 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
145 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);
146 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
CFxCommand));
147 return hasDerivedMethod;
150 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
159 private IntPtr SwigDirectorMethodisA() {
166 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
172 [
return: MarshalAs(UnmanagedType.LPWStr)]
173 private String SwigDirectorMethodglobalName() {
177 [
return: MarshalAs(UnmanagedType.LPWStr)]
178 private String SwigDirectorMethodlocalName() {
182 private IntPtr SwigDirectorMethodmodule() {
189 private void SwigDirectorMethodundefine(
bool undefIt) {
193 private Int32 SwigDirectorMethodflags() {
197 private int SwigDirectorMethodExecute(global::System.IntPtr pFxCmdCtx) {
198 return Execute((pFxCmdCtx == global::System.IntPtr.Zero) ?
null : new CFxCommandContext(pFxCmdCtx, false));
201 private void SwigDirectorMethodHelp() {
205 private uint SwigDirectorMethodGetHelpId() {
209 [
return: MarshalAs(UnmanagedType.LPWStr)]
210 private String SwigDirectorMethoddisplayName() {
217 [
return: MarshalAs(UnmanagedType.LPWStr)]
219 [
return: MarshalAs(UnmanagedType.LPWStr)]
227 [
return: MarshalAs(UnmanagedType.LPWStr)]
243 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
244 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
245 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
246 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
247 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
248 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
249 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
bool) };
250 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { };
251 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(CFxCommandContext) };
252 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
253 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { };
254 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { };
static HandleRef getCPtr(CFxCommandContext obj)
static void CFxCommand_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, CFxCommand.SwigDelegateCFxCommand_0 delegate0, CFxCommand.SwigDelegateCFxCommand_1 delegate1, CFxCommand.SwigDelegateCFxCommand_2 delegate2, CFxCommand.SwigDelegateCFxCommand_3 delegate3, CFxCommand.SwigDelegateCFxCommand_4 delegate4, CFxCommand.SwigDelegateCFxCommand_5 delegate5, CFxCommand.SwigDelegateCFxCommand_6 delegate6, CFxCommand.SwigDelegateCFxCommand_7 delegate7, CFxCommand.SwigDelegateCFxCommand_8 delegate8, CFxCommand.SwigDelegateCFxCommand_9 delegate9, CFxCommand.SwigDelegateCFxCommand_10 delegate10, CFxCommand.SwigDelegateCFxCommand_11 delegate11)