Last active
September 17, 2018 08:26
-
-
Save btodts/99f81e5e58f4d7c01cb5a29332599883 to your computer and use it in GitHub Desktop.
Configuration.cs
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
namespace Foo.Configuration | |
{ | |
public interface IConfiguration | |
{ | |
string ApiBaseAddress { get; set; } | |
} | |
public class Configuration : IConfiguration | |
{ | |
[JsonConstructor] | |
public Configuration() | |
{ | |
} | |
public string ApiBaseAddress { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment