public static new LoomServer ot_dynamic_cast(Storable pObject) { IntPtr cPtr = otapiPINVOKE.LoomServer_ot_dynamic_cast(Storable.getCPtr(pObject)); LoomServer ret = (cPtr == IntPtr.Zero) ? null : new LoomServer(cPtr, false); return ret; }