예제 #1
0
                    public static FieldFactory FromBaseObject(BaseObject baseObj)
                    {
                        if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                        {
                            return(null);
                        }
                        FieldFactory obj = baseObj as  FieldFactory;

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

                        return(obj);
                    }