示例#1
0
 /// <summary>
 /// Get latest versions of registered Units within the Dynamo session.
 /// </summary>
 /// <returns>A dictionary keyed by a version-less typeID and the latest registered version as value</returns>
 internal static Dictionary <string, Version> GetAllLatestRegisteredUnitVersions()
 {
     return(GetAllLatestRegisteredUnitVersions(ForgeUnitsEngine.getAllUnits()));
 }
示例#2
0
 public static IEnumerable <Unit> GetAllUnits()
 {
     return(ConvertForgeUnitDictionaryToCollection(ForgeUnitsEngine.getAllUnits()));
 }