コード例 #1
0
ファイル: Wireup.cs プロジェクト: si-griffiths/cqrs-testbed
 /// <summary>
 /// Register denormalisers against the event bus
 /// </summary>
 public static void RegisterEventBusHandlers(EventBus eventBus, IEnumerable<Type> typesToExclude)
 {
     // get the current assmebly (Gap.Readmodel) and register all the denormalisers
     eventBus.RegisterEventHandlersInAssembly(typeof(Wireup).Assembly, typesToExclude);
 }