Skip to content

Instantly share code, notes, and snippets.

@hjerpbakk
Created November 11, 2014 07:05
Show Gist options
  • Select an option

  • Save hjerpbakk/8bada7ebb8a357a84f64 to your computer and use it in GitHub Desktop.

Select an option

Save hjerpbakk/8bada7ebb8a357a84f64 to your computer and use it in GitHub Desktop.
FermiContainer example 3
var calculator = fermiContainer.Singleton<ICalculator>();
var calculator2 = fermiContainer.Singleton<ICalculator>();
Assert.AreSame(calculator, calculator2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment