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