public static ModelDBImportListener FromBaseObject(BaseObject baseObj) { if (baseObj == null || baseObj.NativeObject == IntPtr.Zero) { return(null); } ModelDBImportListener obj = baseObj as ModelDBImportListener; if (object.Equals(obj, null)) { obj = new ModelDBImportListener(CreatedWhenConstruct.CWC_NotToCreate); obj.BindNativeObject(baseObj.NativeObject, "CModelDBImportListener"); obj.IncreaseCast(); } return(obj); }
public BaseObject Create() { ModelDBImportListener emptyInstance = new ModelDBImportListener(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }