/// <summary>
 /// Registers types into the container mapped to an interface type.
 /// </summary>
 /// <typeparam name="TFrom">The interface type.</typeparam>
 /// <param name="registrator">The registrator.</param>
 /// <param name="assembly">Assembly to register.</param>
 /// <param name="selector">The type selector.</param>
 /// <param name="configurator">The configurator for the registered types.</param>
 /// <returns>The <see cref="IStashboxContainer"/> which on this method was called.</returns>
 public static IStashboxContainer RegisterTypesAs <TFrom>(this IDependencyCollectionRegistrator registrator,
                                                          Assembly assembly,
                                                          Func <Type, bool> selector = null,
                                                          Action <RegistrationConfigurator> configurator = null)
     where TFrom : class =>
 registrator.RegisterTypesAs(typeof(TFrom),
                             assembly.CollectTypes(),
                             selector,
                             configurator);
 /// <summary>
 /// Registers types into the container mapped to an interface type.
 /// </summary>
 /// <param name="typeFrom">The interface type.</param>
 /// <param name="registrator">The registrator.</param>
 /// <param name="assembly">Assembly to register.</param>
 /// <param name="selector">The type selector.</param>
 /// <param name="configurator">The configurator for the registered types.</param>
 /// <returns>The <see cref="IStashboxContainer"/> which on this method was called.</returns>
 public static IStashboxContainer RegisterTypesAs(this IDependencyCollectionRegistrator registrator,
                                                  Type typeFrom,
                                                  Assembly assembly,
                                                  Func <Type, bool> selector = null,
                                                  Action <RegistrationConfigurator> configurator = null) =>
 registrator.RegisterTypesAs(typeFrom,
                             assembly.CollectTypes(),
                             selector,
                             configurator);
 /// <summary>
 /// Registers types into the container mapped to an interface type.
 /// </summary>
 /// <typeparam name="TFrom">The interface type.</typeparam>
 /// <param name="registrator">The registrator.</param>
 /// <param name="types">Types to register.</param>
 /// <param name="selector">The type selector.</param>
 /// <param name="configurator">The configurator for the registered types.</param>
 /// <returns>The <see cref="IStashboxContainer"/> which on this method was called.</returns>
 public static IStashboxContainer RegisterTypesAs <TFrom>(this IDependencyCollectionRegistrator registrator,
                                                          IEnumerable <Type> types,
                                                          Func <Type, bool> selector = null,
                                                          Action <RegistrationConfigurator> configurator = null)
     where TFrom : class =>
 registrator.RegisterTypesAs(typeof(TFrom),
                             types,
                             selector,
                             configurator);