Closed Dalstroem closed 9 years ago
Same as #2, but do not create the object before it is resolved the first time. All other calls should return the same instance.
RegisterAsSingleton<IFoo>(() => new Foo());
Implemented in commit 69356b815e46a812bdffeea776d95003187e477b.
Same as #2, but do not create the object before it is resolved the first time. All other calls should return the same instance.
Usage