Beispiel #1
0
            public void ToNewInstancesOfType(Type type)
            {
                IProvider provider = new NewInstancesProvider(type);
                IBinding  binding  = new Binding(key, provider);

                this.binding = binding;
            }
 public SingleInstanceProvider(Type type)
 {
     newInstancesProvider = new NewInstancesProvider(type);
 }