Assembly: OpenTD.Results.dll A DerivedDataArray that uses some criterion to select one of its input DataArrays and returns data solely from it.
Inheritance
object ← DataArray ← DerivedDataArray ← SelectOneDataArrayDerived
SelectMaxDataArray, SelectMinDataArrayImplements
IEnumerable<double>, IEnumerableInherited Members
DerivedDataArray.InputCollection, DerivedDataArray.IgnoreNaNInCalculations, DerivedDataArray.SourceDataset, DerivedDataArray.SourceItem, DerivedDataArray.GetValues(UnitsData), DerivedDataArray.Count, DerivedDataArray.this[int], DerivedDataArray.GetSelfSuggestedName(), DerivedDataArray.SetDerivedData(), DerivedDataArray.CheckData(), DataArray.SetValues(IEnumerable<double>, DataSubtype, UnitsData, ItemIdentifier), DataArray.SourceDataset, DataArray.SourceItem, DataArray.Subtype, DataArray.SourceDataItem, DataArray.Dimension, DataArray.IsInteger, DataArray.GetValues(), DataArray.GetValues(UnitsData), DataArray.Count, DataArray.this[int], DataArray.ValuesSI, DataArray.CheckData(), DataArray.AutoNamer, DataArray.Name, DataArray.InternalSuggestedName, DataArray.GetSelfSuggestedName(), DataArray.ToString(), DataArray.AutoCommenter, DataArray.Comment, DataArray.InternalSuggestedComment, DataArray.GetSelfSuggestedComment(), DataArray.GetEnumerator(), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()Constructors
SelectOneDataArray(DataArrayCollection)
Parameters
inputCollection DataArrayCollection
SelectOneDataArray()
Fields
selectedArray
Field Value
DataArrayProperties
Count
The number of items in this DataArray.Property Value
intSourceDataset
The source Dataset for the InputCollection.Property Value
IDatasetExceptions
OpenTDException Cannot set DerivedDataArray.SourceDataset directly. It will be derived from InputArrays.SourceItem
The SourceItem for the InputCollection.Property Value
ItemIdentifierExceptions
OpenTDException Cannot set DerivedDataArray.SourceItem directly. It will be derived from InputArrays.Methods
CheckData()
GetSelfSuggestedName()
Returns
stringGetValues(UnitsData)
Gets the data in the units provided.Parameters
units UnitsData
The units to return the data in.