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 October 21, 2024 12:37
Monogame with IHostedService DI
public class ExampleGame : Game, IGame
{
public Game Game => this;
private readonly ISomeDependency _someDependency;
public ExampleGame(ISomeDependency someDependency)
{
_someDependency = someDependency;
}