ArmedCards.BusinessLogic.AppServices.Hubs.SendMessage.GetGameLobbyViewModel C# (CSharp) Метод

GetGameLobbyViewModel() приватный Метод

private GetGameLobbyViewModel ( Entities connection, Entities game ) : Entities.Models.Game.Board.Lobby
connection Entities
game Entities
Результат 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);
        }