Example #1
0
 /// <summary>
 /// Map the message type to the specified address
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="destinationAddress"></param>
 public static void Map <T>(Uri destinationAddress)
     where T : class
 {
     EndpointConventionCache <T> .Map((out Uri address) =>
     {
         address = destinationAddress;
         return(true);
     });
 }
Example #2
0
 /// <summary>
 /// Map the message type to the endpoint returned by the specified method
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="endpointAddressProvider"></param>
 public static void Map <T>(EndpointAddressProvider <T> endpointAddressProvider)
     where T : class
 {
     EndpointConventionCache <T> .Map(endpointAddressProvider);
 }
Example #3
0
 /// <summary>
 /// Map the message type to the specified address
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="destinationAddress"></param>
 public static void Map <T>(Uri destinationAddress)
     where T : class
 {
     EndpointConventionCache <T> .Map(destinationAddress);
 }