/// <summary> /// Gets information about the data source type identified by the given ID. /// </summary> /// <param name="dataSourceTypeID">Globally unique identifier for the data source type.</param> /// <returns>The information about the data source type.</returns> public static Identifier GetInfo(Guid dataSourceTypeID) { Identifier identifier; return(DataSourceTypeLookup.TryGetValue(dataSourceTypeID, out identifier) ? identifier : null); }
/// <summary> /// Gets information about the data source type identified by the given ID. /// </summary> /// <param name="dataSourceTypeID">Globally unique identifier for the data source type.</param> /// <returns>The information about the data source type.</returns> public static Identifier?GetInfo(Guid dataSourceTypeID) => DataSourceTypeLookup.TryGetValue(dataSourceTypeID, out Identifier identifier) ? identifier : null;