PersistComponentStateSynonyms() публичный Метод

public PersistComponentStateSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
Результат void
Пример #1
0
        public void AddSynonymsForComponentState(IComponentState componentState, params string[] synonyms)
        {
            if (componentState == null)
            {
                throw new ArgumentNullException(nameof(componentState));
            }
            if (synonyms == null)
            {
                throw new ArgumentNullException(nameof(synonyms));
            }

            AddSynonyms(_componentStateSynonyms, componentState, synonyms);
            _storage.PersistComponentStateSynonyms(_componentStateSynonyms);
        }