Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ConfigureOptionsAttribute] #1412

Open
david-driscoll opened this issue Mar 14, 2023 · 0 comments
Open

[ConfigureOptionsAttribute] #1412

david-driscoll opened this issue Mar 14, 2023 · 0 comments

Comments

@david-driscoll
Copy link
Member

Add an attribute that creates a configuration point for options from configuration files.

(Might have to live in conventions, not lp)

IE:

[ConfigureOptions("Path:To:Configuration")]
public record Options
{
        public int Days { get; set; }
        public int Hours { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant