public override IPrepareNotifierProcessor Create(NotifierProcessorType notifierProcessorType) { switch (notifierProcessorType) { case NotifierProcessorType.HostFactoryNotifierProcessorType: return(new PrepareHostFactoryNotifierProcessor()); case NotifierProcessorType.NotifierProcessorDecoratorType: return(new PrepareNotifierProcessorDecorator()); default: throw new ArgumentException($"{notifierProcessorType} cannot be created"); } }
public abstract IPrepareNotifierProcessor Create(NotifierProcessorType notifierProcessorType);