Пример #1
0
        public static void SetListInLexRecord(LexRecord lexRecord, int contentType, List<string> inList)
        {
            switch (contentType)

            {
                case 2:
                    lexRecord.SetSpellingVars(inList);
                    break;
                case 5:
                    lexRecord.SetVariants(inList);
                    break;
                case 6:
                    lexRecord.SetNominalizations(inList);
                    break;
                case 7:
                    lexRecord.SetAbbreviations(inList);
                    break;
                case 8:
                    lexRecord.SetAcronyms(inList);
                    break;
            }
        }