You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
613 B
23 lines
613 B
// // Author: Gockner, Simon
|
|
// // Created: 2019-06-12
|
|
// // Copyright(c) 2019 SimonG. All Rights Reserved.
|
|
|
|
using System.Reflection;
|
|
using LightweightIocContainer.Interfaces.Installers;
|
|
|
|
namespace LightweightIocContainer.Installers
|
|
{
|
|
public static class FromAssembly
|
|
{
|
|
public static IAssemblyInstaller This()
|
|
{
|
|
Assembly assembly = Assembly.GetCallingAssembly();
|
|
return new AssemblyInstaller(assembly);
|
|
}
|
|
|
|
public static IAssemblyInstaller Instance(Assembly assembly)
|
|
{
|
|
return new AssemblyInstaller(assembly);
|
|
}
|
|
}
|
|
} |