LazyWorkspaceD

Undocumented in source.

Members

Classes

LazyInstance
class LazyInstance
Undocumented in source.

Functions

attach
bool attach(Instance instance, string component, Exception error)
Undocumented in source. Be warned that the author may not have intended to support it.
attachEager
bool attachEager(Instance instance, string component, Exception error)
Undocumented in source. Be warned that the author may not have intended to support it.
autoRegisterComponents
void autoRegisterComponents(Instance inst)
Undocumented in source. Be warned that the author may not have intended to support it.
checkHasGlobalComponent
bool checkHasGlobalComponent(ComponentInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
createInstance
Instance createInstance(string cwd, Configuration config)
Undocumented in source. Be warned that the author may not have intended to support it.
onBeforeAccessGlobalComponent
void onBeforeAccessGlobalComponent(ComponentInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
onRegisterComponent
void onRegisterComponent(ComponentFactory factory, bool autoRegister)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From WorkspaceD

Instance
class Instance
Undocumented in source.
messageHandler
IMessageHandler messageHandler;

Called from components to push messages to the app.

onBindFail
ComponentBindFailCallback onBindFail;

Called when ComponentFactory.create is called and errored (when the .bind call on a component fails)

instances
Instance[] instances;
Undocumented in source.
globalConfiguration
Configuration globalConfiguration;

Base global configuration for new instances, does not modify existing ones.

globalComponents
ComponentWrapperInstance[] globalComponents;
Undocumented in source.
components
ComponentFactoryInstance[] components;
Undocumented in source.
stringCache
StringCache stringCache;
Undocumented in source.
_gthreads
TaskPool _gthreads;
Undocumented in source.
~this
~this()
Undocumented in source.
shutdown
void shutdown(bool dtor)
Undocumented in source. Be warned that the author may not have intended to support it.
getInstance
Instance getInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstanceByDependency
Instance getBestInstanceByDependency(string file)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstanceByDependency
Instance getBestInstanceByDependency(string file)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstance
Instance getBestInstance(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
getBestInstance
Instance getBestInstance(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
onBeforeAccessGlobalComponent
void onBeforeAccessGlobalComponent(ComponentInfo )
Undocumented in source. Be warned that the author may not have intended to support it.
checkHasGlobalComponent
bool checkHasGlobalComponent(ComponentInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has()
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
best
T best(string file, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
hasBest
bool hasBest(string cwd, bool fallback)
Undocumented in source. Be warned that the author may not have intended to support it.
onRegisterComponent
void onRegisterComponent(ComponentFactory factory, bool autoRegister)
Undocumented in source. Be warned that the author may not have intended to support it.
register
ComponentFactory register(bool autoRegister)
Undocumented in source. Be warned that the author may not have intended to support it.
createInstance
Instance createInstance(string cwd, Configuration config)
Undocumented in source. Be warned that the author may not have intended to support it.
preloadComponents
void preloadComponents(Instance inst, string[] preloadComponents)
Undocumented in source. Be warned that the author may not have intended to support it.
autoRegisterComponents
void autoRegisterComponents(Instance inst)
Undocumented in source. Be warned that the author may not have intended to support it.
addInstance
Instance addInstance(string cwd, Configuration configOverrides, string[] preloadComponents)

Creates a new workspace with the given cwd with optional config overrides and preload components for non-autoRegister components.

removeInstance
bool removeInstance(string cwd)
Undocumented in source. Be warned that the author may not have intended to support it.
attach
deprecated bool attach(Instance instance, string component)
Undocumented in source. Be warned that the author may not have intended to support it.
attachSilent
bool attachSilent(Instance instance, string component)
Undocumented in source. Be warned that the author may not have intended to support it.
attach
bool attach(Instance instance, string component, Exception error)
Undocumented in source. Be warned that the author may not have intended to support it.
gthreads
TaskPool gthreads()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta