Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public void GetLazyDefersResolutionUntilValueAcccessed() { ServiceHost.Reset(); var lazyTestProvider = ServiceHost.GetLazyService <ILazyTest>(); ServiceHost.Initialize( registration => registration.Register <ILazyTest, LazyService>()); var target = lazyTestProvider.Value; Assert.NotNull(target); }