public static OnBinder Install(params Type[] types) { var asm = Assembly.GetCallingAssembly(); var installerBinder = new InstallerBinder(); new Zenjector(asm, installerBinder); return(installerBinder.Install(types)); }
public static OnBinder Install <T>() where T : InstallerBase { var asm = Assembly.GetCallingAssembly(); var installerBinder = new InstallerBinder(); new Zenjector(asm, installerBinder); return(installerBinder.Install(typeof(T))); }