Table of Contents

Class PlaceholderResolverSource

Namespace
Steeltoe.Extensions.Configuration
Assembly
Steeltoe.Extensions.Configuration.PlaceholderBase.dll

Configuration source used in creating a PlaceholderResolverProvider that resolves placeholders A placeholder takes the form of

${some:config:reference?default_if_not_present}>
public class PlaceholderResolverSource : IConfigurationSource
Inheritance
PlaceholderResolverSource
Implements
Inherited Members

Constructors

PlaceholderResolverSource(IList<IConfigurationSource>, ILoggerFactory)

Initializes a new instance of the PlaceholderResolverSource class.

public PlaceholderResolverSource(IList<IConfigurationSource> sources, ILoggerFactory logFactory = null)

Parameters

sources IList<IConfigurationSource>

the configuration sources to use

logFactory ILoggerFactory

the logger factory to use

Methods

Build(IConfigurationBuilder)

Builds a PlaceholderResolverProvider from the sources.

public IConfigurationProvider Build(IConfigurationBuilder builder)

Parameters

builder IConfigurationBuilder

the provided builder

Returns

IConfigurationProvider

the placeholder resolver provider