Skip to content

Add possibility to configure options validation in order to validate options at the start up time (not at runtime). #2392

Closed
@aspnet-hello

Description

@aspnet-hello

From @MaKCbIMKo on Monday, February 20, 2017 9:50:01 AM

This PR introduces the possibility to 'initialize' options at the start up time. It will prevent possible config issues that might occur in runtime because of incorrect config file.

Also, it allows to use initializers to write some custom logic to instantiate options objects.

Copied from original issue: aspnet/Options#171

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions