# Functions
Arguments 指定在获得某接口的实例时,该实例构造函数的值.
Call invoke function that use interface as parameters.
CallArguments 指定调用参数.
CallDependsOn 指定这个构造函数依赖的接口对应的name.
Clone clone Container instance.
Default 指定这个接口对应构造函数是不是默认的映射.
DependsOn 指定这个构造函数依赖的接口对应的name.
Fill takes a struct and resolves the fields with the tag `optional:"true"` or `name:"dependOnName1"` argument must be a struct point.
Interface 指定注册时构造函数返回对象对应的接口指针 比如将Logger这个interface传入,代码为: var l *Logger Interface(l).
Lifestyle 指定在获得接口对应的实例时,是单例还是临时的.
Name 指定binding的name.
NewContainer creates a new instance of the Container.
Optional 指定构造函数中哪些参数是可选的,即使没有Resolve出来,设置为nil即可,也不报错.
Parameters 指定这个构造函数的参数值.
Register register interface-> constructor.
RegisterInstance register interface->instance into container.
RegisterSubInterface set sub interface map to another interface.
Reset deletes all the existing bindings and empties the container instance.
Resolve takes an abstraction (interface reference) and fills it with the related implementation.
ResolveName 指定在获得接口实例时,使用哪个name对应的构造函数.
SetDefaultBinding change default binding to another name.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author