Example #1
0
 public void ApplyMappings(IMapperConfiguration configuration)
 {
     ListenerConfigurationMapping(configuration);
     QueueConfigurationMapping(configuration);
     WorkerConfigurationMapping(configuration);
     ExchangeConfigurationMapping(configuration);
     Mapper.AssertConfigurationIsValid();
 }
Example #2
0
 private static void QueueConfigurationMapping(IMapperConfiguration configuration)
 {
     configuration.CreateMap <dynamic, PocoQueueConfiguration>().ConvertUsing(HydrateQueueConfiguration);
 }
Example #3
0
 private static void ExchangeConfigurationMapping(IMapperConfiguration configuration)
 {
     configuration.CreateMap <dynamic, PocoExchangeConfiguration>().ConvertUsing(HydrateExchangeConfiguration);
 }
Example #4
0
 private static void ListenerConfigurationMapping(IMapperConfiguration configuration)
 {
     configuration.CreateMap <dynamic, PocoListenerConfiguration>().ConvertUsing(HydrateListenerConfiguration);
 }