Example #1
0
 public Task ConfigureFollowUnit(IServiceProvider serviceProvider, IFollowUnitContainer followUnitContainer)
 {
     followUnitContainer.Register(FollowUnitWithLong.From <Account>(serviceProvider).
                                  Flow <IAccountRep>(DefaultFollowType.primary).
                                  ConcurrentFlow <IAccountFlow>(DefaultFollowType.primary).
                                  ConcurrentFlow <IAccountDb>(DefaultFollowType.secondary));
     return(Task.CompletedTask);
 }
Example #2
0
 public Task ConfigureFollowUnit(IServiceProvider serviceProvider, IFollowUnitContainer followUnitContainer)
 {
     followUnitContainer.Register(FollowUnitWithLong.From <Account>(serviceProvider));
     return(Task.CompletedTask);
 }