コード例 #1
0
ファイル: PostController.cs プロジェクト: Zbyszard/NTP
 public PostController(IUserFinder userFinder,
                       IPostDTOManager postDTOManager,
                       IPostNotifier postNotifier)
 {
     this.userFinder   = userFinder;
     this.postManager  = postDTOManager;
     this.postNotifier = postNotifier;
 }
コード例 #2
0
 public PostNotifier(IPostDTOManager postManager,
                     IHubContext <PostSubscriptionHub, IPostSubscriptionHubClient> hubContext)
 {
     this.postManager = postManager;
     this.hubContext  = hubContext;
 }