public RoomViewModel(IEntityChangedNotificationService entityChangedNotificationService, IRoomService roomService) { this.entityChangedNotificationService = entityChangedNotificationService; this.roomService = roomService; this.entityChangedNotificationService.EntityChangedNotification += OnEntityChanged; }
public UserStateInfoViewModel(IUserStateInfoService userStateInfoService, IEntityChangedNotificationService entityChangedNotificationService, IUserInfoService userInfoService) { this.userStateInfoService = userStateInfoService; this.entityChangedNotificationService = entityChangedNotificationService; this.userInfoService = userInfoService; this.entityChangedNotificationService.EntityChangedNotification += OnEntityChanged; }
public GameViewModel(IEntityChangedNotificationService entityChangedNotificationService, IGameService gameService, IUserInfoService userInfoService) { this.entityChangedNotificationService = entityChangedNotificationService; this.gameService = gameService; this.userInfoService = userInfoService; this.entityChangedNotificationService.EntityChangedNotification += OnEntityChanged; }
public WaitingViewModel(IEntityChangedNotificationService entityChangedNotificationService, IWaitingService waitingService) { this.entityChangedNotificationService = entityChangedNotificationService; this.waitingService = waitingService; roomInfoDic = new Dictionary <long, RoomInfo>(); this.entityChangedNotificationService.EntityChangedNotification += OnEntityChanged; }