Last active
June 26, 2017 12:21
-
-
Save gusztavvargadr/982354d46461c4eeb738cd9ae5215e63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AppSettings { | |
public Uri Host { get; set; } | |
public ConnectionSettings Connection { get; set; } | |
public class ConnectionSettings | |
{ | |
public TimeSpan TimesOutIn { get; set; } | |
public int RetryCount { get; set; } | |
} | |
} | |
var appSettings = configuration.Get<AppSettings>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment