【问题标题】:Does one still require an IOC to use Fluent Security?是否仍然需要 IOC 才能使用 Fluent Security?
【发布时间】:2014-03-24 01:14:21
【问题描述】:

是否可以在没有 IOC 的情况下运行 Fluent Security?我的应用程序目前不使用 IOC,这就是问题的原因。

【问题讨论】:

    标签: fluent-security


    【解决方案1】:

    是的,FluentSecurity 不需要 IoC 容器(它从来没有)。 但是,如果您需要替换 FluentSecurity 中的任何内容,或者您​​需要为策略注入依赖项,则需要一种方法来为 FluentSecurity 提供这些实例/依赖项。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-11-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-09-12
      • 2011-04-12
      • 1970-01-01
      相关资源
      最近更新 更多