Пример #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Configuration"/> class with the specified Type registry and collection
 ///     of instance configurations.
 /// </summary>
 /// <param name="registry">The Type registry with which to initialize the configuration.</param>
 /// <param name="instances">The collection of instance configurations with which to initialize the configuration.</param>
 public Configuration(IConfigurableTypeRegistry registry, IDictionary <string, IDictionary <string, object> > instances)
 {
     TypeRegistry       = registry;
     InstanceDictionary = instances;
 }
Пример #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Configuration"/> class with the specified Type registry.
 /// </summary>
 /// <param name="registry">The Type registry with which to initialize the configuration.</param>
 public Configuration(IConfigurableTypeRegistry registry)
     : this(registry, new Dictionary <string, IDictionary <string, object> >())
 {
 }