• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Pandv.Config
    • ConfigurationExtensions
    • PandvConfigurationProvider
    • PandvConfigurationSource

Class PandvConfigurationSource

Pandv Configuration Source It keep the config which about etcd v3 and key path

Inheritance
System.Object
PandvConfigurationSource
Namespace: Pandv.Config
Assembly: cs.temp.dll.dll
Syntax
public class PandvConfigurationSource : IConfigurationSource

Properties

Client

etcd v3 client

Declaration
public Client Client { get; set; }
Property Value
Type Description
Client

ReloadOnChange

if reloadOnChange == true, the all key/value will keep same with etcd v3 which's keys under $"{configName}:{systemName}:" else only once get value which's keys under $"{configName}:{systemName}:"

Declaration
public bool ReloadOnChange { get; set; }
Property Value
Type Description
System.Boolean

RootPath

key's first path name

Declaration
public string RootPath { get; set; }
Property Value
Type Description
System.String

SystemName

key's group name

Declaration
public string SystemName { get; set; }
Property Value
Type Description
System.String

Methods

Build(IConfigurationBuilder)

Build PandvConfigurationProvider

Declaration
public IConfigurationProvider Build(IConfigurationBuilder builder)
Parameters
Type Name Description
IConfigurationBuilder builder

Configuration Builder

Returns
Type Description
IConfigurationProvider

IConfigurationProvider

Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX