Table of Contents

Class ContainerInstance

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

Represents a deployment instance of a Container, which can be added to a DeploymentNode.

[DataContract]
public sealed class ContainerInstance : StaticStructureElementInstance
Inheritance
ContainerInstance
Inherited Members

Properties

CanonicalName

Gets the canonical name of this container instance, including deployment path and instance number.

public override string CanonicalName { get; }

Property Value

string

Container

The container represented by this deployment-time instance.

public Container Container { get; }

Property Value

Container

ContainerId

The identifier of the underlying container.

[DataMember(Name = "containerId", EmitDefaultValue = false)]
public string ContainerId { get; set; }

Property Value

string

Methods

getElement()

Returns the static container represented by this deployment instance.

public override StaticStructureElement getElement()

Returns

StaticStructureElement

The underlying container.