[英]Can the default lifestyle of Castle Windsor registered components be changed?
不知道是否可能,但是您可以做的是添加“ IContributeComponentModelConstruction”以將所有組件設置為特定的生活方式。
檢查此: http : //blog.ploeh.dk/2010/04/26/ChangingWindsorlifestylesafterthefact/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.