Ejemplo n.º 1
0
        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");
            }
        }
Ejemplo n.º 2
0
 public abstract IPrepareNotifierProcessor Create(NotifierProcessorType notifierProcessorType);