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); }
public Task ConfigureFollowUnit(IServiceProvider serviceProvider, IFollowUnitContainer followUnitContainer) { followUnitContainer.Register(FollowUnitWithLong.From <Account>(serviceProvider)); return(Task.CompletedTask); }