Table of Contents

Class ConfigLoader

Namespace
Cress.ProjectSystem
Assembly
Cress.ProjectSystem.dll
public sealed class ConfigLoader
Inheritance
ConfigLoader
Inherited Members

Constructors

ConfigLoader(ProjectLocator)

public ConfigLoader(ProjectLocator projectLocator)

Parameters

projectLocator ProjectLocator

Methods

Load(string, bool)

public OperationResult<CressConfig> Load(string projectRoot, bool strict = false)

Parameters

projectRoot string
strict bool

Returns

OperationResult<CressConfig>

LoadFile(string, bool)

public OperationResult<CressConfig> LoadFile(string configPath, bool strict = false)

Parameters

configPath string
strict bool

Returns

OperationResult<CressConfig>

Serialize<T>(T)

public string Serialize<T>(T value)

Parameters

value T

Returns

string

Type Parameters

T