C# 使用Castle Windsor时如何导入资源

C# 使用Castle Windsor时如何导入资源,c#,xml,spring-mvc,castle-windsor,spring.net,C#,Xml,Spring Mvc,Castle Windsor,Spring.net,我想将我的组件保存在一个单独的xml文件中,用于生产、开发等。这可以通过Castle Windsor完成吗 使用spring.net时,我可以使用 <springDestinations> <objects xmlns="http://www.springframework.net"> <import resource="file://~/Config/blablabla.xml"/> </objects>

我想将我的组件保存在一个单独的xml文件中,用于生产、开发等。这可以通过Castle Windsor完成吗

使用spring.net时,我可以使用

<springDestinations>
      <objects xmlns="http://www.springframework.net">
        <import resource="file://~/Config/blablabla.xml"/>
      </objects>
    </springDestinations>

使用Castle Windsor,我有以下组件

<components>
  <component id="Retriever" service="Model.Services.Remote.IRetriever, Model" type="Model.Services.Remote.Retriever, Model">
    <parameters>
      <resourceUrl>http://localhost:8888/Service.svc/</resourceUrl>          
    </parameters>
  </component>
</components>

http://localhost:8888/Service.svc/          
谢谢:-)

是的,您可以在XML配置中使用和