Skip to main content
Namespace: OpenTD
Assembly: OpenTD.dll
Use to get all domains within a TD instance.

Inheritance

object ← Domains

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

Domains()

Domains(ThermalDesktop)

Creates dictionaries for each type of domain. Domains in master drawing will create dictionary where key=domain name, value=list of connections in domain Domains in XREF drawing will create dictionary where key=database name (name of XREF), value=list of domains Does not determine connections for domains in XREF drawings

Parameters

tdInstance ThermalDesktop

Properties

EdgeDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

EdgeDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

LumpDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

LumpDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

NodeDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

NodeDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

PathDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

PathDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

SolidDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

SolidDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

SurfaceDomains

Key = Name of domain Value = list of connections in domain

Property Value

Dictionary<string, List<Connection>>

SurfaceDomainsXREF

Key = Name of XREF Value = list of domain names in XREF

Property Value

Dictionary<string, List<string>>

TD

Property Value

ThermalDesktop

Methods

GetNames()

Returns all domain names. Call UpdateFromTD() first to synchronize with the TD instance.

Returns

List<string> List<System.String>.

See Also

Domains.UpdateFromTD(), Domains.UpdateFromTD(ThermalDesktop)

UpdateFromTD(ThermalDesktop)

Updates the client-side instance with the latest data from the TD entity.

Parameters

tdInstance ThermalDesktop

UpdateFromTD()

Updates the client-side instance with the latest data from the TD entity.