コード例 #1
0
 public CatalystConfiguration AsConfiguration()
 {
     return(new CatalystConfiguration(
                ControlManager,
                Consumers.Cast <ConsumerElement>().Select(
                    item => item.GetFactory()).ToList(),
                Publishers.Cast <PublisherElement>().Select(
                    item => item.GetFactory()).ToList()
                ));
 }