If a quantity ID is not provided when adding a user units, it will match on the eumItem value only.
public class UserUnitProvider : IUnitProvider| UserUnitProvider | Initializes a new instance of the UserUnitProvider class |
| BaseProvider | Provider to try, if no match is found in this instance. Null (not used) by default |
| Add(UserUnitInfo) | Add user unit to unit provider |
| Add(eumItem, eumUnit) | Add user unit to unit provider, based on eumItem type |
| Add(UserUnitProviderUnitSearchType, UserUnitInfo) | Add user unit to unit provider, with the given search type |
| Add(String, eumItem, eumUnit) | Add user unit to unit provider, based on Id of quantity |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| GetUserUnit(eumItem) | Return user unit for EUM item type |
| GetUserUnit(String, eumItem) | Return user unit |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Update(UserUnitInfo) | Update existing unit. |
| Update(UserUnitInfo, UserUnitProviderUnitSearchType) |
| _itemMap | Find by eumItem |
| _quantityMap | Find by quantity id |
| _unitSearchers | Find by search pattern |
| AsString |
Return value as a string, in proper unit
(Defined by Util) |
| GetUnitConversionFactor |
Get a unit conversion factor for EUM quantity
(Defined by Util) |
| GetUnitConversionFactor |
Get a unit conversion factor for EUM quantity
(Defined by Util) |
| GetUserUnitOrDefault |
Get a unit conversion factor for EUM quantity
(Defined by Util) |
| UpdateQuantityUserUnit |
Update quantity with user unit, if user unit is available
(Defined by Util) |
| UserUnitToString |
Return a unit as a string
(Defined by Util) |
| ValueInUserUnit |
Convert a value to user unit and return as a string
(Defined by Util) |
| ValueInUserUnit |
Convert a value to user unit and return as a string
(Defined by Util) |
| ValueInUserUnitToString |
Convert a value to user unit and return as a string
(Defined by Util) |
| ValueInUserUnitToString |
Convert a value to user unit and return as a string
(Defined by Util) |
| ValueInUserUnitToStringWithUnit |
Convert a value to user unit and return as a string
(Defined by Util) |
| ValueInUserUnitToStringWithUnit |
Convert a value to user unit and return as a string
(Defined by Util) |