Class UnitMetadataRegistry
Inheritance
System.Object
UnitMetadataRegistry
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.Core.Globalization.dll
public class UnitMetadataRegistry
Constructors
Declaration
public UnitMetadataRegistry()
Properties
Declaration
public UnitDefinitionSet UnitDefinitionSet { get; set; }
Property Value
Methods
Declaration
public List<UnitMetadata> AllUnitMetadataFromLabel(string label, string languageCode)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String |
languageCode |
|
Returns
Type |
Description |
System.Collections.Generic.List<UnitMetadata> |
|
Declaration
public List<UnitMetadata> GetAllMetadata(string languageCode)
Parameters
Type |
Name |
Description |
System.String |
languageCode |
|
Returns
Type |
Description |
System.Collections.Generic.List<UnitMetadata> |
|
Declaration
public LabelValueSet GetPreferredLabelValueSet(string unitKey, string languageCode)
Parameters
Type |
Name |
Description |
System.String |
unitKey |
|
System.String |
languageCode |
|
Returns
Declaration
public UnitMetadata UnitMetadataFromKey(string unitKey, string languageCode, out string languageCodeFound)
Parameters
Type |
Name |
Description |
System.String |
unitKey |
|
System.String |
languageCode |
|
System.String |
languageCodeFound |
|
Returns
Declaration
public UnitMetadata UnitMetadataFromLabel(string label, string languageCode)
Parameters
Type |
Name |
Description |
System.String |
label |
|
System.String |
languageCode |
|
Returns