public async Task <RoomInfo> FetchRoomInfoAsync() { RoomInfo roomInfo = await BililiveAPI.GetRoomInfoAsync(Roomid); RoomInfoUpdated?.Invoke(this, new RoomInfoUpdatedArgs { RoomInfo = roomInfo }); return(roomInfo); }
public async Task <RoomInfo> FetchRoomInfoAsync() { RoomInfo roomInfo = await bililiveAPI.GetRoomInfoAsync(Roomid).ConfigureAwait(false); if (roomInfo != null) { RoomInfoUpdated?.Invoke(this, new RoomInfoUpdatedArgs { RoomInfo = roomInfo }); } return(roomInfo); }