c# - .net Castle Windsor how to specify component property to constructor parameter in xml? -
I can not understand how I can pass composite properties into constructor parameters.
& lt; Component ID = "Notification Center Manager" Service = "Advice Notification. Control Manager, Exxure" Type = "Advice Notification Center Manager, Exclave" & gt; & Lt; / Component & gt; & Lt; Component ID = "Jobprocessor Configuration Session" service = "Advice .nojobprocessor .isobobprocessor configuration semester, advice .core" type = "advice.jobprosseer management.job processor configuration sensor, exsecurity" & gt; & Lt; Parameters & gt; & Lt; Notification Center Yuri & gt; $ {Notification Center Manager. Information Center Yuri} & lt; / Information Center Yuri & gt; & Lt; / Standards & gt; & Lt; / Component & gt; Where the Notification Center is the property of the Yuri Interface Inspiration Center Manager.
Thanks
Windsor does not provide out of that box You have to write one to implement it, however, I would not recommend it: By doing so you are creating a Jobprocessor configuration. The information center is dependent on the notification manager (vested because it is not anywhere in the source code of the jobprocessor configuration).
Instead, refer this URI to one, then refer it to the information center manager and component of the Jobprocessor Configuration Center component configuration.
Comments
Post a Comment