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