public void CanResolveInstance()
        {
            service.Register <IRandomGUIDProvider, RandomGUIDProvider>();

            IRandomGUIDProvider result = container.Resolve <IRandomGUIDProvider>();

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
 public SomeServiceOne(IRandomGUIDProvider randomGUIDProvider)
 {
     _randomGUIDProvider = randomGUIDProvider;
 }
Exemplo n.º 3
0
 public TestImplementation(IRandomGUIDProvider randomGUIDProvider)
 {
     _randomGUIDProvider = randomGUIDProvider;
 }