Пример #1
0
 /// <summary>
 /// Remove a consumer convention used for finding message types
 /// </summary>
 /// <typeparam name="T">The convention type to remove</typeparam>
 public static void Remove <T>()
     where T : IConsumerConvention
 {
     ConsumerConventionCache.Remove <T>();
 }
Пример #2
0
 /// <summary>
 /// Remove a consumer convention used for finding message types
 /// </summary>
 /// <typeparam name="T">The convention type to remove</typeparam>
 public static void Remove <T>()
     where T : IConsumerConvention
 {
     ConsumerConventionCache.Remove(TypeMetadataCache <T> .ShortName);
 }