ArmedCards.BusinessLogic.AppServices.Hubs.SendMessage.GetGameLobbyViewModel C# (CSharp) Méthode

GetGameLobbyViewModel() private méthode

private GetGameLobbyViewModel ( Entities connection, Entities game ) : Entities.Models.Game.Board.Lobby
connection Entities
game Entities
Résultat Entities.Models.Game.Board.Lobby
        private Entities.Models.Game.Board.Lobby GetGameLobbyViewModel(Entities.ActiveConnection connection, Entities.Game game)
        {
            return new Entities.Models.Game.Board.Lobby(GetPlayerType(connection), game.Players, game.MaxNumberOfSpectators > 0, game.Spectators);
        }