Esempio n. 1
0
                    public static FeatureRenderer FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        FeatureRenderer obj = baseObj as  FeatureRenderer;

                        if (object.Equals(obj, null))
                        {
                            obj = new FeatureRenderer(CreatedWhenConstruct.CWC_NotToCreate);
                            obj.BindNativeObject(baseObj.NativeObject, "CFeatureRenderer");
                            obj.IncreaseCast();
                        }

                        return(obj);
                    }
Esempio n. 2
0
                    public BaseObject Create()
                    {
                        FeatureRenderer emptyInstance = new FeatureRenderer(CreatedWhenConstruct.CWC_NotToCreate);

                        return(emptyInstance);
                    }