C#C
C#3y ago
Indeed

✅ XML docs not all exceptions included

Hi!
It appears not all exceptions are included in xml docs
Is there a way to go about it?

namespace WPFWeather.Services.WeatherProvider;
public interface IWeatherProvider {
    /// <summary>
    /// Fetches WeatherData for the given location
    /// </summary>
    /// <param name="location"></param>
    /// <param name="from"></param>
    /// <param name="to"></param>
    /// <returns></returns>
    /// <exception cref="ArgumentException"></exception>
    /// <exception cref="System.Net.HttpRequestException"></exception> //not included
    public Task<IEnumerable<WeatherData>> GetWeatherAsync(Location location, DateTime from, DateTime to);
}
Was this page helpful?