コード例 #1
0
                    public static LayerFactory FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        LayerFactory obj = baseObj as  LayerFactory;

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

                        return(obj);
                    }