//AppSettings.cs namespace FetchAppsettingsValue { public class AppSettings { public Logging Logging { get; set; } public string AllowedHosts { get; set; } } public class Logging { public LogLevel LogLevel { get; set; } } public class LogLevel { public string Default { get; set; } public string Warning { get; set; } public string Error { get; set; } } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter