Пример #1
0
 /// <summary>
 ///  Creates a new <see cref="Configuration"/> instance configured with
 ///  the modules provided and the specified options.
 /// </summary>
 /// <param name="options">
 ///  The core options which control how the IOC container registers and
 ///  creates new services.
 /// </param>
 /// <param name="modules">
 ///  One or more modules containing service definitions.
 /// </param>
 public Configuration(ConfigurationOptions options, params Module[] modules)
     : this(modules)
 {
     Options = options;
 }
Пример #2
0
 public ServiceProviderFactory(ConfigurationOptions options = default)
 {
     _options = options;
 }