Class Domains
Last update: 09.03.2026Namespace: OpenTD
Assembly: OpenTD.dll
Use to get all domains within a TD instance.
[MessagePackObject(true)]
public class Domains
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Domains()
public 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
public Domains(ThermalDesktop tdInstance)
Parameters
tdInstance ThermalDesktop
Properties
EdgeDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> EdgeDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
EdgeDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> EdgeDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
LumpDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> LumpDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
LumpDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> LumpDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
NodeDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> NodeDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
NodeDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> NodeDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
PathDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> PathDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
PathDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> PathDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
SolidDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> SolidDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
SolidDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> SolidDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
SurfaceDomains
Key = Name of domain Value = list of connections in domain
public Dictionary<string, List<Connection>> SurfaceDomains { get; set; }
Property Value
Dictionary<string, List<Connection>>
SurfaceDomainsXREF
Key = Name of XREF Value = list of domain names in XREF
public Dictionary<string, List<string>> SurfaceDomainsXREF { get; set; }
Property Value
Dictionary<string, List<string>>
TD
[IgnoreMember]
public ThermalDesktop TD { get; set; }
Property Value
Methods
GetNames()
Returns all domain names. Call UpdateFromTD() first to synchronize with the TD instance.
public List<string> GetNames()
Returns
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.
public void UpdateFromTD(ThermalDesktop tdInstance)
Parameters
tdInstance ThermalDesktop
UpdateFromTD()
Updates the client-side instance with the latest data from the TD entity.
public void UpdateFromTD()