Here are the examples of the csharp api System.Collections.Generic.Dictionary.ContainsKey(eSettings) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : BotBase.cs
with MIT License
from MajMcCloud
with MIT License
from MajMcCloud
public uint GetSetting(eSettings set, uint defaultValue)
{
if (!this.SystemSettings.ContainsKey(set))
return defaultValue;
return this.SystemSettings[set];
}
19
Source : BotBase.cs
with MIT License
from MajMcCloud
with MIT License
from MajMcCloud
public bool GetSetting(eSettings set, bool defaultValue)
{
if (!this.SystemSettings.ContainsKey(set))
return defaultValue;
return this.SystemSettings[set] == 0u ? false : true;
}