Here are the examples of the csharp api System.Collections.Generic.IDictionary.ContainsKey(ScenarioAndFeatureKey) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : ScenarioAdapter.cs
with MIT License
from csf-dev
with MIT License
from csf-dev
Guid GetScenarioId(ScenarioContext scenario, FeatureContext feature)
{
var key = new ScenarioAndFeatureKey(scenario, feature);
if(!scenarioIds.ContainsKey(key))
scenarioIds.Add(key, Guid.NewGuid());
return scenarioIds[key];
}