Esempio n. 1
0
        public DrawingKeyword(string keyword, KeywordInOtherLanguageCollection keywordsInOtherLanguage, KeywordLocationCollection locations)
        {
            Keyword = "";
            KeywordsInOtherLanguage = new KeywordInOtherLanguageCollection();
            Locations = new KeywordLocationCollection();

            Keyword = keyword;
            KeywordsInOtherLanguage = keywordsInOtherLanguage.Copy();
            Locations = locations.Copy();
        }
Esempio n. 2
0
        public DrawingKeyword(string keyword, KeywordInOtherLanguageCollection keywordsInOtherLanguage, params KeywordLocation[] locations)
        {
            Keyword = "";
            KeywordsInOtherLanguage = new KeywordInOtherLanguageCollection();
            Locations = new KeywordLocationCollection();

            Keyword = keyword;
            KeywordsInOtherLanguage = keywordsInOtherLanguage.Copy();
            if (locations != null && locations.Length > 0)
            {
                Locations.AddLocations(locations);
            }
        }