Skip to main content

OpenTD reference 2026 R1

Class DatasetFactory

Last update: 09.03.2026

Namespace: OpenTD.Results.Dataset
Assembly: OpenTD.Results.dll

Use to load various datasets from disk.

public static class DatasetFactory

Inheritance

object ← DatasetFactory

Inherited Members

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

Methods

Load(string)

With the supplied pathname, this method will determine whether it is a savX, CSR, or sav and return an IDataset that can be used to access it.

public static IDataset Load(string pathname)

Parameters

pathname string

Returns

IDataset

Exceptions

OpenTDException

Connect with Ansys