API Browser

Class

Workspace

class Workspace

Namespace: Raven.CodeAnalysis
Assembly: Raven.CodeAnalysis.dll
Source file: Workspace.cs

Inheritance: Object → Workspace

Coordinates a Raven.CodeAnalysis.Solution instance and raises events when it changes.

Derived types

Documented types in this API reference. Indirect relationships are marked.

Constructors

2 items
Workspace(kind: string) No summary available.

Properties

3 items
CurrentSolution: Solution No summary available.
Kind: string No summary available.
Services: HostServices Services available to this workspace.

Methods

23 items
CreateSolution() -> Solution Creates a new empty Raven.CodeAnalysis.Solution using the workspace services.
Extension member: EnableFileWatching() -> IDisposable No summary available. Extension from PersistenceExtensions.EnableFileWatching
Equals(obj: object?) -> bool Determines whether the specified object is equal to the current object. Inherited from Object.Equals
GetCompilation(projectId: ProjectId) -> Compilation Gets a Raven.CodeAnalysis.Compilation for the specified project. Results are cached and incrementally rebuilt when documents change.
GetHashCode() -> int Serves as the default hash function. Inherited from Object.GetHashCode
GetType() -> Type Gets the System.Type of the current instance. Inherited from Object.GetType
Extension member: OpenProject(projectFilePath: string) -> ProjectId No summary available. Extension from PersistenceExtensions.OpenProject
OpenSolution(solution: Solution) -> () Opens the specified Raven.CodeAnalysis.Solution as the current solution.
Extension member: SaveProject(projectId: ProjectId, filePath: string) -> () No summary available. Extension from PersistenceExtensions.SaveProject
ToString() -> string? Returns a string that represents the current object. Inherited from Object.ToString
TryApplyChanges(newSolution: Solution) -> bool Attempts to apply a new solution and raises the appropriate change event.

Events

1 item
WorkspaceChanged No summary available.