public DrawingKeyword(string keyword, KeywordInOtherLanguageCollection keywordsInOtherLanguage, KeywordLocationCollection locations) { Keyword = ""; KeywordsInOtherLanguage = new KeywordInOtherLanguageCollection(); Locations = new KeywordLocationCollection(); Keyword = keyword; KeywordsInOtherLanguage = keywordsInOtherLanguage.Copy(); Locations = locations.Copy(); }
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); } }