/// <summary> /// Gets an <see cref="ExtensibleEnumInfo{T}"/> object describing the enum value identified by <paramref name="id"/>, returning a boolean value /// indicating whether such a value could be found. /// </summary> /// <param name="id">The identifier of the enum value to return.</param> /// <param name="value">The <see cref="ExtensibleEnumInfo{T}"/> describing the enum value identified by <paramref name="id"/>, or /// <see langword="null" /> if no such value exists.</param> /// <returns> /// <see langword="true" /> if a value with the given <paramref name="id"/> could be found; <see langword="false" /> otherwise. /// </returns> public bool TryGetValueInfoByID(string id, out ExtensibleEnumInfo <T> value) { ArgumentUtility.CheckNotNullOrEmpty("id", id); return(_cache.Value.Dictionary.TryGetValue(id, out value)); }
public abstract bool TryGetValueInfoByID(string id, out ExtensibleEnumInfo <T> value);