FormatOptions.IsValidForSpec
Description:
Checks whether this FormatOptions is valid for a given spec.
Checks whether this FormatOptions is valid for a given spec.
Remarks:
The FormatOptions is valid if UseDefault is true or if the unit in the FormatOptions is valid for the spec. See UnitUtils.IsValidUnit(ForgeTypeId, ForgeTypeId) and UnitUtils.GetValidUnits(ForgeTypeId).
The FormatOptions is valid if UseDefault is true or if the unit in the FormatOptions is valid for the spec. See UnitUtils.IsValidUnit(ForgeTypeId, ForgeTypeId) and UnitUtils.GetValidUnits(ForgeTypeId).
public bool IsValidForSpec(
ForgeTypeId specTypeId
)
-
specTypeIdIdentifier of the spec.
-
specTypeId is not a measurable spec identifier. See UnitUtils.IsMeasurableSpec(ForgeTypeId).
-
A non-optional argument was null