Пример #1
0
        public void deleteVersion(uint id, String name, uint language)
        {
            ResVersion resVer = (ResVersion)getDataItem(versions, id, name);

            if (resVer != null)
            {
                resVer.deleteItem(language);
            }
        }
Пример #2
0
//-----------------------------------------------------------------------------

        public void addVersion(uint id, String name, uint language, byte[] data)
        {
            ResVersion resVer = (ResVersion)getDataItem(versions, id, name);

            if (resVer == null)
            {
                resVer = new ResVersion(id, name);
                versions.Add(resVer);
            }
            resVer.addItem(language, data);
        }