Table of Contents

Interface IConfigKeyChangedEventArgs

Namespace
MonkeyLoader.Configuration
Assembly
MonkeyLoader.dll

Represents a non-generic ConfigKeyChangedEventArgs<T>.

public interface IConfigKeyChangedEventArgs

Properties

ChangedCollection

Gets the changed collection event arguments, if this configuration item's changed value originated from an CollectionChanged event.

NotifyCollectionChangedEventArgs? ChangedCollection { get; }

Property Value

NotifyCollectionChangedEventArgs

ChangedProperty

Gets the name of the property that changed, if this configuration item's changed value originated from an PropertyChanged event.

string? ChangedProperty { get; }

Property Value

string

Config

Gets the Config in which the change occured.

Config Config { get; }

Property Value

Config

HadValue

Gets whether the old value existed.

bool HadValue { get; }

Property Value

bool

HasLabel

Gets whether a custom label was set by whoever changed the configuration.

bool HasLabel { get; }

Property Value

bool

true if Label is not null; otherwise, false.

HasValue

Gets whether the new value exists.

bool HasValue { get; }

Property Value

bool

IsChangedCollection

Gets whether this configuration item's changed value originated from an CollectionChanged event.

bool IsChangedCollection { get; }

Property Value

bool

true if ChangedCollection is not null; otherwise, false.

IsChangedProperty

Gets whether this configuration item's changed value originated from an PropertyChanged event.

bool IsChangedProperty { get; }

Property Value

bool

true if ChangedProperty is not null; otherwise, false.

Key

Gets the configuration item who's value changed.

IDefiningConfigKey Key { get; }

Property Value

IDefiningConfigKey

Label

Gets a custom label that may be set by whoever changed the configuration.

string? Label { get; }

Property Value

string

NewValue

Gets the new value of the configuration item.
This can be the default value.

object? NewValue { get; }

Property Value

object

OldValue

Gets the old value of the configuration item.
This can be the default value.

object? OldValue { get; }

Property Value

object