Table of Contents

Class ConfigKeyComponent

Namespace
MonkeyLoader.Configuration
Assembly
MonkeyLoader.dll

Contains helper methods to work with config key entities and their components.
These are mostly extension methods that proxy calls to Components

public static class ConfigKeyComponent
Inheritance
ConfigKeyComponent
Inherited Members

Methods

Add<TKey>(IEntity<TKey>, IConfigKeyComponent<TKey>)

Adds the given config key component to this config key entity.

public static void Add<TKey>(this IEntity<TKey> configKey, IConfigKeyComponent<TKey> component) where TKey : class, IDefiningConfigKey, IEntity<TKey>

Parameters

configKey IEntity<TKey>

The config key entity to add the component to.

component IConfigKeyComponent<TKey>

The config key component to add to the entity.

Type Parameters

TKey

The type of the config key.