public override void RegisterCallBack() { if (this.NativeObject != IntPtr.Zero) { m_newScene_CallBack_IScene_EVString = EarthView_World_Spatial_Atlas_ISceneFactory_newScene_IScene_EVString_Function; GC.KeepAlive(m_newScene_CallBack_IScene_EVString); EV_RegisterCallback_EarthView_World_Spatial_Atlas_ISceneFactory_newScene_IScene_EVString(this.NativeObject, m_newScene_CallBack_IScene_EVString); m_createScene_CallBack_IScene_CDataStream = EarthView_World_Spatial_Atlas_ISceneFactory_createScene_IScene_CDataStream_Function; GC.KeepAlive(m_createScene_CallBack_IScene_CDataStream); EV_RegisterCallback_EarthView_World_Spatial_Atlas_ISceneFactory_createScene_IScene_CDataStream(this.NativeObject, m_createScene_CallBack_IScene_CDataStream); m_createScene_CallBack_IScene_EVString = EarthView_World_Spatial_Atlas_ISceneFactory_createScene_IScene_EVString_Function; GC.KeepAlive(m_createScene_CallBack_IScene_EVString); EV_RegisterCallback_EarthView_World_Spatial_Atlas_ISceneFactory_createScene_IScene_EVString(this.NativeObject, m_createScene_CallBack_IScene_EVString); m_destroyScene_CallBack_void_IScene = EarthView_World_Spatial_Atlas_ISceneFactory_destroyScene_void_IScene_Function; GC.KeepAlive(m_destroyScene_CallBack_void_IScene); EV_RegisterCallback_EarthView_World_Spatial_Atlas_ISceneFactory_destroyScene_void_IScene(this.NativeObject, m_destroyScene_CallBack_void_IScene); } }
protected static extern void EV_RegisterCallback_EarthView_World_Spatial_Atlas_ISceneFactory_newScene_IScene_EVString(IntPtr pObject, newScene_CallBack_IScene_EVString pCallback);