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