Skip to content

ConfigurationBinder.Get split into GetValue/Bind #202

@HaoK

Description

@HaoK

In RC2, we removed the single Get<T> overload, with the overall functionality still remaining but split into

GetValue<T> for primitives which support TypeConverter conversions.
Bind<T> for complex types, and collections.

configuration.Get<T>("<key>") becomes either:

configuration.GetValue<T>("key") or configuration.GetSection("key").Bind(myT)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions