Skip to content

Instantly share code, notes, and snippets.

@gusztavvargadr
Last active June 26, 2017 12:22
Show Gist options
  • Save gusztavvargadr/b3833799181f6417014e7ad0a3e33e94 to your computer and use it in GitHub Desktop.
Save gusztavvargadr/b3833799181f6417014e7ad0a3e33e94 to your computer and use it in GitHub Desktop.
public class HomeController : Controller
{
public HomeController(IOptions<AppSettings> appSettingsOptions)
{
AppSettings = appSettingsOptions.Options;
}
AppSettings AppSettings { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment