PersistComponentStateSynonyms() public method

public PersistComponentStateSynonyms ( Dictionary synonyms ) : void
synonyms Dictionary
return void
        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);
        }