/// <summary> /// Gets all of the configured options. /// </summary> /// <typeparam name="T">The type of configured options to retrieve.</typeparam> /// <returns>A <see cref="IEnumerable{T}">sequence</see> of the configured options.</returns> public IEnumerable <T> All <T>() where T : class => items.OfType <T>();