Esempio n. 1
0
                    public EarthView.World.Spatial2D.Renderer.DrawThemeFactory GetFactory(string key)
                    {
                        IntPtr __ptr = EarthView_World_Spatial2D_Renderer_CDrawThemeFactoryRegistry_getFactory_CDrawThemeFactory_EVString(this.NativeObject, key);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Spatial2D.Renderer.DrawThemeFactory csObj = new EarthView.World.Spatial2D.Renderer.DrawThemeFactory(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "CDrawThemeFactory");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Spatial2D.Renderer.DrawThemeFactory;
                            csObj.BindNativeObject(__ptr, "CDrawThemeFactory");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }
Esempio n. 2
0
                    public int RegistryFactory(EarthView.World.Spatial2D.Renderer.DrawThemeFactory factory)
                    {
                        int ret = EarthView_World_Spatial2D_Renderer_CDrawThemeFactoryRegistry_registryFactory_int_CDrawThemeFactory(this.NativeObject, object.Equals(factory, null) ? IntPtr.Zero : factory.NativeObject);

                        return(ret);
                    }