private static bool tryParseByFullName(string uiSymbol, out MetricSystem result) { result = MetricSystemManager.GetAllMetricSystems() .FirstOrDefault(ms => ms.FullName == uiSymbol); if (result == default) { return(false); } return(true); }
/// <summary> /// Gets all the available metric systems. /// </summary> /// <returns>The available metric systems.</returns> public static IEnumerable <MetricSystem> GetAll() => MetricSystemManager.GetAllMetricSystems();