/// <summary>
 /// Set a value for key of type T.
 /// </summary>
 /// <param name="key">The settings key.</param>
 /// <param name="value">The value to set. Must be serializable.</param>
 /// <typeparam name="T">Type of value.</typeparam>
 /// <inheritdoc cref="ISettingsRepository.Set{T}"/>
 public void Set <T>(string key, T value)
 {
     Init();
     m_Dictionary.Set <T>(key, value);
 }
Exemplo n.º 2
0
 public void Set <T>(string key, T value)
 {
     Initialize();
     _dictionary.Set(key, value);
 }