System.Collections.Concurrent.ConcurrentDictionary.ContainsKey(I18NOption)

Here are the examples of the csharp api System.Collections.Concurrent.ConcurrentDictionary.ContainsKey(I18NOption) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : I18N.cs
with GNU General Public License v3.0
from SeeSharpOpenSource

public static I18N GetInstance(I18NOption option)
        {
            if (!_i18nEnreplacedies.ContainsKey(option))
            {
                _i18nEnreplacedies.TryAdd(option, new I18N(option));
            }
            return _i18nEnreplacedies[option];
        }

19 Source : I18N.cs
with GNU General Public License v3.0
from SeeSharpOpenSource

public static void InitInstance(I18NOption option)
        {
            if (!_i18nEnreplacedies.ContainsKey(option))
            {
                _i18nEnreplacedies.TryAdd(option, new I18N(option));
            }
        }