【发布时间】:2014-03-24 01:14:21
【问题描述】:
是否可以在没有 IOC 的情况下运行 Fluent Security?我的应用程序目前不使用 IOC,这就是问题的原因。
【问题讨论】:
标签: fluent-security
是否可以在没有 IOC 的情况下运行 Fluent Security?我的应用程序目前不使用 IOC,这就是问题的原因。
【问题讨论】:
标签: fluent-security
是的,FluentSecurity 不需要 IoC 容器(它从来没有)。 但是,如果您需要替换 FluentSecurity 中的任何内容,或者您需要为策略注入依赖项,则需要一种方法来为 FluentSecurity 提供这些实例/依赖项。
【讨论】: