C# Class withSIX.Mini.Applications.Services.Infra.GameContextExtensions

Mostra file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
FindGame ( this gc, System.Guid id ) : Game
FindGameFromRequestOrThrowAsync ( this gc, IHaveId request ) : Task
FindGameOrThrowAsync ( this gc, System.Guid id ) : Task
FindGameOrThrowAsync ( this gc, IHaveGameId request ) : Task

Private Methods

Method Description
Wrap ( Func act, System.Guid id ) : Task

Method Details

FindGame() public static method

public static FindGame ( this gc, System.Guid id ) : Game
gc this
id System.Guid
return Game

FindGameFromRequestOrThrowAsync() public static method

public static FindGameFromRequestOrThrowAsync ( this gc, IHaveId request ) : Task
gc this
request IHaveId
return Task

FindGameOrThrowAsync() public static method

public static FindGameOrThrowAsync ( this gc, System.Guid id ) : Task
gc this
id System.Guid
return Task

FindGameOrThrowAsync() public static method

public static FindGameOrThrowAsync ( this gc, IHaveGameId request ) : Task
gc this
request IHaveGameId
return Task