Ejemplo n.º 1
0
 /// <summary>
 /// Specifies an ordering of multiple types using the syntax: <code>First{H1}.Then{H2}().AndThen{H3}()</code> etc
 /// </summary>
 public void Specify <T>(First <T> ordering)
 {
     Types = ordering.Types;
 }
Ejemplo n.º 2
0
 public static Configure LoadMessageHandlers <T>(this Configure config, First <T> order)
 {
     throw new InvalidOperationException();
 }
 public static void LoadMessageHandlers <T>(this EndpointConfiguration config, First <T> order)
 {
     throw new NotImplementedException();
 }
 /// <summary>
 ///     Loads all message handler assemblies in the runtime directory
 ///     and specifies that the handlers in the given 'order' are to
 ///     run before all others and in the order specified.
 /// </summary>
 public static void LoadMessageHandlers <T>(this BusConfiguration config, First <T> order)
 {
     config.Settings.Set("LoadMessageHandlers.Order.Types", order.Types);
 }