Table of Contents

Class ContainerView

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

A container view.

[DataContract]
public sealed class ContainerView : StaticView
Inheritance
ContainerView
Inherited Members

Properties

ExternalSoftwareSystemBoundariesVisible

Determines whether software system boundaries should be visible for "external" containers (those outside the software system in scope).

[DataMember(Name = "externalSoftwareSystemBoundariesVisible", EmitDefaultValue = false)]
public bool? ExternalSoftwareSystemBoundariesVisible { get; set; }

Property Value

bool?

Name

Returns the default name shown for this container view.

public override string Name { get; }

Property Value

string

Methods

Add(Container)

Adds a container to the view.

public void Add(Container container)

Parameters

container Container

The container to add.

AddAllContainers()

Adds every container that belongs to the scoped software system.

public void AddAllContainers()

AddAllElements()

Adds all software systems, people and containers to this view.

public override void AddAllElements()

AddDefaultElements()

Adds the default set of elements to this view.

public override void AddDefaultElements()

AddNearestNeighbours(Element)

Adds people, software systems and containers that are directly related to the given element.

public override void AddNearestNeighbours(Element element)

Parameters

element Element

CheckElementCanBeAdded(Element)

protected override void CheckElementCanBeAdded(Element element)

Parameters

element Element

Remove(Container)

Removes a container from the view.

public void Remove(Container container)

Parameters

container Container

The container to remove.