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