예제 #1
0
        public override void RegisterHandlers(HandlerRegistrationContext context)
        {
            context.Register <GenericInputHandler <LogMessage> >("GenericLogMessage");
            context.Register <CustomInputHandler>("CustomInput");
            context.Register <LogInputHandler>("LogInput");

            context.Register <ConsoleOutputHandler>("ConsoleOutput");
            context.Register <LogQueueHandler>("LogOutput");
        }
예제 #2
0
 public override void RegisterHandlers(HandlerRegistrationContext context)
 {
     context.Register <CustomInputHandler>("CustomInput");
     context.Register <ConsoleOutputHandler>("ConsoleOutput");
 }
예제 #3
0
        public override void RegisterHandlers(HandlerRegistrationContext context)
        {
            context.Register <InputHandler <LogMessage> >("LogMessage");

            context.Register <ConsoleOutputHandler>("Console");
        }