Bickle.ReflectionWrapping.SpecWrapper.AddToIdMap C# (CSharp) Méthode

AddToIdMap() private méthode

private AddToIdMap ( IExampleContainer exampleContainer ) : void
exampleContainer IExampleContainer
Résultat void
        private void AddToIdMap(IExampleContainer exampleContainer)
        {
            _idMap.Add(exampleContainer.Id, exampleContainer);
            foreach (var example in exampleContainer.Examples)
                _idMap.Add(example.Id, example);

            foreach (var child in exampleContainer.ExampleContainers)
                AddToIdMap(child);
        }