示例#1
0
 def configure(self, binder):
     binder.bind_scope(this.CustomScope, 4)
示例#2
0
 def configure(self, binder):
     binder.bind_scope(this.CustomScope, this.CustomScope())
     binder.bind(ch.Person, to=ch.EvilPerson)
示例#3
0
 def configure(self, binder):
     binder.bind_scope(4, 5)