我有以下類: public class ViewPage<TView,TPresenter> : Page
where TView : IView
where TPresenter : Presenter<TView>
{
public ViewPage()
{
if (!(this is TView))
throw new Ex
我有以下組成部分 public class MyTimer : IMyTimer {
public MyTimer(TimeSpan timespan){...}
}
當時間跨度應該由物業ISettings.MyTimerFrequency提供。 如何在windsor容器xml中連接它? 我想我可以做這樣的事情: <component id="settings"
s