Interface IConfigKeyQuantity<T>
- Namespace
- MonkeyLoader.Resonite.Configuration
- Assembly
- MonkeyLoader.Resonite.Integration.dll
su Defines the typed definition for a quantified config item.
public interface IConfigKeyQuantity<T> : IConfigKeyRange<T>, IConfigKeyComponent<IDefiningConfigKey<T>>, IComponent<IDefiningConfigKey<T>>
Type Parameters
T
The type of the config item's value.
- Inherited Members
Properties
DefaultConfiguration
Gets the default unit configuration for this config item's value.
UnitConfiguration DefaultConfiguration { get; }
Property Value
- UnitConfiguration
HasImperialConfiguration
Gets whether this config item's value has an imperial configuration.
bool HasImperialConfiguration { get; }
Property Value
- bool
true
, if ImperialConfiguration is notnull
; otherwise,false
.
ImperialConfiguration
Gets the imperial unit configuration for this config item's value.
UnitConfiguration? ImperialConfiguration { get; }
Property Value
- UnitConfiguration
QuantityType
Gets the Type of this config item's value's quantity.
Type QuantityType { get; }