Table of Contents

Interface IEnvironmentInfo

Namespace
Dassie.Extensions
Assembly
dc.dll

Represents the environment in which a compiler extension is loaded.

public interface IEnvironmentInfo
Extension Methods

Methods

Configuration()

Retrieves the current compiler configuration.

DassieConfig Configuration()

Returns

DassieConfig

An instance of DassieConfig representing the currently enabled configuration at the time of the call, or null if no configuration is set.

GlobalConfiguration()

Retrieves the full set of global configuration properties with their current values.

Dictionary<string, object> GlobalConfiguration()

Returns

Dictionary<string, object>

A dictionary matching every global property with its value.

InstalledExtensions()

Retrieves the currently loaded extension packages.

IEnumerable<IPackage> InstalledExtensions()

Returns

IEnumerable<IPackage>

An enumerable of compiler extensions that are currently loaded.