C# Class ArmedCards.BusinessLogic.DomainServices.Game.Leave

Implementation of Base.ILeave
Inheritance: Base.ILeave
ファイルを表示 Open project: kwmcrell/ArmedCards

Public Methods

Method Description
Execute ( Int32 gameID, Entities user, Entities playerType ) : void

Removes a player from the game

Leave ( ArmedCards.BusinessLogic.Repositories leaveGame ) : System

Method Details

Execute() public method

Removes a player from the game
public Execute ( Int32 gameID, Entities user, Entities playerType ) : void
gameID System.Int32 The ID of the game to leave
user Entities The user leaving the game
playerType Entities Type of player leaving
return void

Leave() public method

public Leave ( ArmedCards.BusinessLogic.Repositories leaveGame ) : System
leaveGame ArmedCards.BusinessLogic.Repositories
return System