/// <summary>
 /// Does the repository contain a setting with key and type.
 /// </summary>
 /// <param name="key">The settings key.</param>
 /// <typeparam name="T">The type of value to search for.</typeparam>
 /// <returns>True if a setting matching both key and type is found, false if no entry is found.</returns>
 /// <inheritdoc cref="ISettingsRepository.ContainsKey{T}"/>
 public bool ContainsKey <T>(string key)
 {
     Init();
     return(m_Dictionary.ContainsKey <T>(key));
 }
예제 #2
0
        public bool ContainsKey <T>(string key)
        {
            Initialize();

            return(_dictionary.ContainsKey <T>(key));
        }