void IComponentExtension.Apply(Component component, ComponentRegistration registration) { registration.Startable(); if (!string.IsNullOrEmpty(startMethod)) { registration.StartUsingMethod(startMethod); } if (!string.IsNullOrEmpty(stopMethod)) { registration.StopUsingMethod(stopMethod); } }
void IComponentExtension.Apply(Component component, ComponentRegistration registration) { registration.Startable(); if (!string.IsNullOrEmpty(startMethod)) { registration.StartUsingMethod(startMethod); } if (!string.IsNullOrEmpty(stopMethod)) { registration.StopUsingMethod(stopMethod); } }