@@ -20,7 +20,9 @@ namespace PuppeteerSharp
2020 /// <inheritdoc/>
2121 public class BrowserFetcher : IBrowserFetcher
2222 {
23- /// <inheritdoc/>
23+ /// <summary>
24+ /// Default chromium revision.
25+ /// </summary>
2426 public const string DefaultChromiumRevision = "970485" ;
2527
2628 private static readonly Dictionary < Product , string > _hosts = new Dictionary < Product , string >
@@ -45,7 +47,7 @@ public class BrowserFetcher : IBrowserFetcher
4547 private readonly CustomFileDownloadAction _customFileDownload ;
4648 private bool _isDisposed ;
4749
48- /// <inheritdoc/>
50+ /// <inheritdoc cref="BrowserFetcher" />
4951 public BrowserFetcher ( )
5052 {
5153 DownloadsFolder = Path . Combine ( GetExecutablePath ( ) , ".local-chromium" ) ;
@@ -55,12 +57,12 @@ public BrowserFetcher()
5557 _customFileDownload = _webClient . DownloadFileTaskAsync ;
5658 }
5759
58- /// <inheritdoc/>
60+ /// <inheritdoc cref="BrowserFetcher" />
5961 public BrowserFetcher ( Product product ) : this ( new BrowserFetcherOptions { Product = product } )
6062 {
6163 }
6264
63- /// <inheritdoc/>
65+ /// <inheritdoc cref="BrowserFetcher" />
6466 public BrowserFetcher ( BrowserFetcherOptions options )
6567 {
6668 if ( options == null )
@@ -102,7 +104,15 @@ public IWebProxy WebProxy
102104 set => _webClient . Proxy = value ;
103105 }
104106
105- /// <inheritdoc/>
107+ /// <summary>
108+ /// Get executable path.
109+ /// </summary>
110+ /// <param name="product"><see cref="Product"/>.</param>
111+ /// <param name="platform"><see cref="Platform"/>.</param>
112+ /// <param name="revision">chromium revision.</param>
113+ /// <param name="folderPath">folder path.</param>
114+ /// <returns>executable path.</returns>
115+ /// <exception cref="ArgumentException">For not supported <see cref="Platform"/>.</exception>
106116 public static string GetExecutablePath ( Product product , Platform platform , string revision , string folderPath )
107117 {
108118 if ( product == Product . Chrome )
@@ -347,7 +357,10 @@ internal static string GetExecutablePath()
347357 return assemblyDirectory . FullName ;
348358 }
349359
350- /// <inheritdoc/>
360+ /// <summary>
361+ /// Dispose <see cref="WebClient"/>.
362+ /// </summary>
363+ /// <param name="disposing">Indicates whether disposal was initiated by <see cref="Dispose()"/> operation.</param>
351364 protected virtual void Dispose ( bool disposing )
352365 {
353366 if ( _isDisposed )
0 commit comments