ArmedCards.BusinessLogic.AppServices.Game.Leave.Execute C# (CSharp) Метод

Execute() публичный Метод

Removes a player from the game
public Execute ( Int32 gameID, Int32 userId, String displayName, Entities playerType ) : void
gameID System.Int32 The ID of the game to leave
userId System.Int32 The user id of the user leaving the game
displayName String The user display name of the user leaving the game
playerType Entities Type of player leaving
Результат void
        public void Execute(Int32 gameID, Int32 userId, String displayName, Entities.Enums.GamePlayerType playerType)
        {
            this.Execute(gameID, new Entities.User { UserId = userId, DisplayName = displayName }, playerType, false);
        }

Same methods

Leave::Execute ( Int32 gameID, Entities user, Entities playerType, System.Boolean forcedToLeave = false ) : void