void Kernel_ComponentModelCreated(ComponentModel model) { if (typeof(IAutoStart).IsAssignableFrom(model.Implementation)) { model.AddService(typeof(IAutoStart)); } }
void Kernel_ComponentModelCreated(ComponentModel model) { if (typeof(IAutoStart).IsAssignableFrom(model.Implementation)) { model.AddService(typeof(IAutoStart)); } }