UnitUtils.GetDiscipline
Method
Description:
Gets the discipline for a given measurable spec.
Gets the discipline for a given measurable spec.
Parameters
Parameter | Type | Description |
---|---|---|
specTypeId | ForgeTypeId | Identifier of the measurable spec. |
Return Value
Type | Description |
---|---|
ForgeTypeId | Identifier of the discipline. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | specTypeId is not a measurable spec identifier. See UnitUtils.IsMeasurableSpec(ForgeTypeId). |
ArgumentNullException | A non-optional argument was null |