Skip to content

Instantly share code, notes, and snippets.

View aethercowboy's full-sized avatar

Jacob P. Silvia aethercowboy

View GitHub Profile
@aethercowboy
aethercowboy / ExampleGame.cs
Last active May 1, 2024 13:28
Monogame with IHostedService DI
public class ExampleGame : Game, IGame
{
public Game Game => this;
private readonly ISomeDependency _someDependency;
public ExampleGame(ISomeDependency someDependency)
{
_someDependency = someDependency;
}