コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChatHub"/> class.
 /// </summary>
 /// <param name="chatRepostitory">The chat repostitory.</param>
 /// <param name="mapper">The mapper.</param>
 public ChatHub(IChatRepostitory chatRepostitory, IMapper mapper)
 {
     this.chatRepostitory = chatRepostitory;
     this.mapper          = mapper;
 }
コード例 #2
0
ファイル: GamesController.cs プロジェクト: Cular/Football
 /// <summary>
 /// Initializes a new instance of the <see cref="GamesController"/> class.
 /// </summary>
 /// <param name="gameService">The game service.</param>
 /// <param name="mapper">The mapper.</param>
 /// <param name="chatRepository">The chat repository.</param>
 public GamesController(IGameService gameService, IMapper mapper, IChatRepostitory chatRepository)
 {
     this.gameService    = gameService;
     this.mapper         = mapper;
     this.chatRepository = chatRepository;
 }