Class Config<TConfig>
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
Location
Get config location
public static IConfigLocation Location { get; }
Property Value
Name
Get config name if exists
public static string Name { get; }
Property Value
ParentPath
Get parent config path if exists
public static string ParentPath { get; }
Property Value
Methods
Get()
public static TConfig Get()
Returns
- TConfig