ConfigValueBag

Description

sealed class Tinman.Core.Config.ConfigValueBag

Derived from

IConfigValueBag

Default implementation of the IConfigValueBag interface.

Public / Constructors

Config​Value​Bag


public constructor ConfigValueBag → (1)

parent opt : IConfigValueBag = null

The parent bag or null for none.

Creates a new instance of ConfigValueBag.

Public / Methods

Clear


public method Clear → ()

Removes all entries from this bag.

Put


public method Put → (2)

key in : string

[not-empty]
The entry name.

value in : ConfigValue

[not-null]
The entry value.

Puts a new entry into this bag, removing any existing ones.

Remove


public method Remove → (1)

key in : string

[not-empty]
The entry name.

Removes an entry from this bag.