Click or drag to resize

DfsAbstractItemBuilder Class

Item builder that handles common functionality for the static and the dynamic items.

The following functions must be set: Set(String, eumQuantity, DfsSimpleType), SetAxis(IDfsSpatialAxis).

Inheritance Hierarchy

Namespace:  DHI.Generic.MikeZero.DFS
Assembly:  DHI.Generic.MIKEZero.DFS (in DHI.Generic.MIKEZero.DFS.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public abstract class DfsAbstractItemBuilder

The DfsAbstractItemBuilder type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSet
Sets name, eum quantity and item data type.

This must be set.

Public methodSetAxis
Sets the spatial axis.

This must be set.

Public methodSetAxisUnitConversion
Sets the unit conversion for the axis of the item.

Optional. The default for an item is that no conversion is performed.

If it's set to anything else than no conversion, automatic conversion is performed.

Public methodSetOrientation
Sets reference orientation.

Optional. If not set, default values of 0 are used.

Public methodSetReferenceCoordinates
Sets reference coordinates.

Optional. If not set, default values of 0 are used.

Public methodSetUnitConversion
Sets the unit conversion for item.

Optional. The default for an item is that no conversion is performed.

If it's set to anything else than no conversion, automatic conversion is performed.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidate
Validate will return a string of issues from the item builder. When this returns an empty list, the item has been properly build.
Top
See Also