CodePlexProject Hosting for Open Source Software
like this ,and use Enum. so we not create intance
container.Register<IMyInterface2, MyImplementation2>() .WithLifetimeManager(LifeTime.Single);
With the latest release you can
container.Register<IMyInterface2, MyImiplementation2() .AsContainerSingleton();
Are you sure you want to delete this post? You will not be able to recover it later.
Are you sure you want to delete this thread? You will not be able to recover it later.