Skip to content

Instantly share code, notes, and snippets.

@benjaminvanrenterghem
Created September 17, 2022 00:58
Show Gist options
  • Save benjaminvanrenterghem/35cf0b2936f4f81e50ec3f978d23e717 to your computer and use it in GitHub Desktop.
Save benjaminvanrenterghem/35cf0b2936f4f81e50ec3f978d23e717 to your computer and use it in GitHub Desktop.
IMediator DI
// #1 Middels dependency injection wordt een IMediator instantie voorzien
public UserController(IMediator mediator) {
_mediator = mediator;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment