Table of Contents

Class Workspace

Namespace
C4.Net
Assembly
C4.Net.Core.dll

Represents a Structurizr workspace, which is a wrapper for a software architecture model and the associated views.

[DataContract]
public class Workspace : AbstractWorkspace
Inheritance
Workspace
Inherited Members

Constructors

Workspace(string, string)

Initializes a new instance of the Workspace class.

public Workspace(string name, string description)

Parameters

name string

The workspace name.

description string

A short description of the workspace.

Properties

Documentation

The documentation associated with this workspace.

[DataMember(Name = "documentation", EmitDefaultValue = false)]
public Documentation Documentation { get; set; }

Property Value

Documentation

Model

The software architecture model.

[DataMember(Name = "model", EmitDefaultValue = false)]
public Model Model { get; set; }

Property Value

Model

The software architecture model.

Views

The set of views onto a software architecture model.

[DataMember(Name = "views", EmitDefaultValue = false)]
public ViewSet Views { get; set; }

Property Value

ViewSet

The set of views onto a software architecture model.

Methods

Hydrate()

Reconnects the model, views, and documentation after deserialization.

public void Hydrate()