Header menu logo Nao

IWorkspaceRegistry Type

Registry that manages multiple workspaces within a single silo. Customers register workspaces at silo startup or dynamically at runtime. Grains resolve workspace definitions by key on each request.

Instance members

Instance member Description

this.Get

Full Usage: this.Get

Parameters:
Returns: WorkspaceDefinitions
Modifiers: abstract

Get a workspace by key, throwing if not found.

arg0 : WorkspaceId
Returns: WorkspaceDefinitions

this.ListKeys

Full Usage: this.ListKeys

Returns: WorkspaceId list
Modifiers: abstract

List all registered workspace keys.

Returns: WorkspaceId list

this.Register

Full Usage: this.Register

Parameters:
Modifiers: abstract

Register or update a workspace. Thread-safe.

arg0 : WorkspaceId
arg1 : WorkspaceDefinitions

this.ReloadAsync

Full Usage: this.ReloadAsync

Parameters:
Returns: Task<bool>
Modifiers: abstract

Reload a workspace from its original source path.

arg0 : WorkspaceId
Returns: Task<bool>

this.Remove

Full Usage: this.Remove

Parameters:
Returns: bool
Modifiers: abstract

Remove a workspace from the registry.

arg0 : WorkspaceId
Returns: bool

this.TryGet

Full Usage: this.TryGet

Parameters:
Returns: WorkspaceDefinitions option
Modifiers: abstract

Get a workspace by key. Returns None if not registered.

arg0 : WorkspaceId
Returns: WorkspaceDefinitions option

Type something to start searching.