Skip to content

Instantly share code, notes, and snippets.

@btodts
Last active September 17, 2018 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btodts/99f81e5e58f4d7c01cb5a29332599883 to your computer and use it in GitHub Desktop.
Save btodts/99f81e5e58f4d7c01cb5a29332599883 to your computer and use it in GitHub Desktop.
Configuration.cs
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