Ejemplo n.º 1
0
 private ImplentationDependencyConfiguration.Builder GetDependencyBuilder(DependencyKey key)
 {
     ImplentationDependencyConfiguration.Builder builder;
     if (!dependencyBuilders.TryGetValue(key, out builder))
     {
         dependencyBuilders.Add(key, builder = new ImplentationDependencyConfiguration.Builder());
     }
     return(builder);
 }
Ejemplo n.º 2
0
        public ImplentationDependencyConfiguration GetByKeyOrNull(DependencyKey key)
        {
            ImplentationDependencyConfiguration result;

            return(dependencies.TryGetValue(key, out result) ? result : null);
        }