PersistComponentSynonyms() public method

public PersistComponentSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
return void
        public void AddSynonymsForComponent(ComponentId componentId, params string[] synonyms)
        {
            if (componentId == null)
            {
                throw new ArgumentNullException(nameof(componentId));
            }
            if (synonyms == null)
            {
                throw new ArgumentNullException(nameof(synonyms));
            }

            AddSynonyms(_componentSynonyms, componentId, synonyms);
            _storage.PersistComponentSynonyms(_componentSynonyms);
        }