BlackLambert_unity-di-package/Samples/ComponentOnNewGameObject/Scripts/FooInstaller.cs
using UnityEngine;

namespace SBaier.DI.Examples
{
	public class FooInstaller : MonoInstaller
	{
		public override void InstallBindings(Binder binder)
		{
			binder.Bind<Foo>().ToComponent<Foo>().FromNewComponentOnNewGameObject("Foo", transform, false).AsSingle().NonLazy();
		}
	}
}
