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