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

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

                    return(obj);
                }