Last active
September 22, 2022 21:02
-
-
Save tetrashine/2f6a831f637759a6b78e70223d57629e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Organisation | |
{ | |
public const string Name = "App:Organisation"; | |
public string Email { get; set; } = String.Empty; | |
public string Phone { get; set; } = String.Empty; | |
} | |
... | |
Organisation org = Configuration.GetSection(Organisation.Name).Bind(Organisation); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment