Beispiel #1
0
 /// <summary>Saves the compartment to a descriptor. Please note that the device code will be the same as the value returned by getDeviceCode(), i.e. not necessarily the same as the value you assigned when first creating the compartment (when using auto-assign). </summary>
 public virtual bool saveToDesc(NxCompartmentDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxCompartment_saveToDesc_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef)));
 }
Beispiel #2
0
 private bool saveToDesc_virtual(IntPtr desc)
 {
     return(saveToDesc(NxCompartmentDesc.GetClass(desc)));
 }