Exemple #1
0
 public NonGenericConsumerB(INonGenericInterface _)
 {
     Console.WriteLine("{0} got {1}", nameof(NonGenericConsumerA), _.GetType().Name);
 }
 public GenericWrapper(INonGenericInterface remote)
 {
     instance = remote;
 }
Exemple #3
0
        public void GetInstanceOfNonGenericInterface()
        {
            INonGenericInterface instance = Container.GetInstance <INonGenericInterface>();

            Assert.IsTrue(instance is NonGenericImplementation);
        }