Table of Contents

Class Config<TConfig>

Namespace
Ceres.Configs
Assembly
Ceres.dll

Generic global config

public abstract class Config<TConfig> : ConfigBase where TConfig : Config<TConfig>, new()

Type Parameters

TConfig
Inheritance
Config<TConfig>
Derived
Inherited Members

Constructors

Config()

protected Config()

Properties

IsRoot

Check if this config is a root config (has no parent)

public static bool IsRoot { get; }

Property Value

bool

Location

Get config location

public static IConfigLocation Location { get; }

Property Value

IConfigLocation

Name

Get config name if exists

public static string Name { get; }

Property Value

string

ParentPath

Get parent config path if exists

public static string ParentPath { get; }

Property Value

string

Methods

Get()

public static TConfig Get()

Returns

TConfig