Skip to content

Instantly share code, notes, and snippets.

@DjebbZ
Last active December 27, 2015 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DjebbZ/7372312 to your computer and use it in GitHub Desktop.
Save DjebbZ/7372312 to your computer and use it in GitHub Desktop.
Injection de dépendance en C# pour le blog de Palo-IT
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
//Mettez ici le code pour instancier votre conteneur, puis instancier votre fenêtre principale via ce dernier, suivi d’un Show()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment