Skip to content

Commit

Permalink
Typo's and things like that
Browse files Browse the repository at this point in the history
  • Loading branch information
Kees van Spelde committed Oct 22, 2024
1 parent ae8887c commit e9d409b
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions ChromiumHtmlToPdfLib/ConvertUri.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public ConvertUri(string uriString, Dictionary<string, string>? requestHeaders =
/// Sets the uri and encoding
/// </summary>
/// <param name="uriString">The uri, e.g. file://c:\test.txt</param>
/// <param name="encoding">The encoding used for this file, e.g UTF-8</param>
/// <param name="encoding">The encoding used for this file, e.g. UTF-8</param>
/// <param name="requestHeaders">The request headers to sent</param>
public ConvertUri(string uriString, Encoding? encoding, Dictionary<string, string>? requestHeaders = null) : base(uriString)
{
Expand All @@ -77,7 +77,7 @@ public ConvertUri(string uriString, Encoding? encoding, Dictionary<string, strin
/// Sets the uri and encoding
/// </summary>
/// <param name="uriString">The uri, e.g. file://c:\test.txt</param>
/// <param name="encoding">The encoding used for this file, e.g UTF-8</param>
/// <param name="encoding">The encoding used for this file, e.g. UTF-8</param>
/// <param name="requestHeaders">The request headers to sent</param>
public ConvertUri(string uriString, string? encoding, Dictionary<string, string>? requestHeaders = null) : base(uriString)
{
Expand Down Expand Up @@ -157,4 +157,4 @@ protected ConvertUri(SerializationInfo serializationInfo, StreamingContext strea
RequestHeaders = requestHeaders;
}
#endregion
}
}
6 changes: 3 additions & 3 deletions ChromiumHtmlToPdfLib/Enums/Browser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
namespace ChromiumHtmlToPdfLib.Enums;

/// <summary>
/// The paper formats to use when converting to PDF
/// The browser to use when converting to PDF
/// </summary>
public enum Browser
{
/// <summary>
/// Use Google Chrome to as headless browser
/// Use Google Chrome as headless browser
/// </summary>
Chrome,

/// <summary>
/// Use Microsoft Edge as headless browser
/// </summary>
Edge
}
}
4 changes: 2 additions & 2 deletions ChromiumHtmlToPdfLib/Enums/WindowSize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
namespace ChromiumHtmlToPdfLib.Enums;

/// <summary>
/// The default Window sizes
/// The default Window sizes
/// </summary>
public enum WindowSize
{
Expand Down Expand Up @@ -122,4 +122,4 @@ public enum WindowSize
/// 3840 x 2160
/// </summary>
_4K_UHD
}
}
4 changes: 2 additions & 2 deletions ChromiumHtmlToPdfLib/Event/MessageRecievedEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ public class MessageReceivedEventArgs : EventArgs
public string Message { get; }

/// <summary>
/// Raised when a massage is received
/// Raised when a message is received
/// </summary>
/// <param name="message"></param>
public MessageReceivedEventArgs(string message)
{
Message = message;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
namespace ChromiumHtmlToPdfLib.Exceptions;

/// <summary>
/// Raised when an error is returned when navigation to a page in Chrome
/// Raised when an error is returned when navigation to a page in Chromium
/// </summary>
[Serializable]
public class ChromiumNavigationException : Exception
Expand Down Expand Up @@ -67,4 +67,4 @@ internal ChromiumNavigationException(string message) : base(message)
internal ChromiumNavigationException(string message, Exception innerException) : base(message, innerException)
{
}
}
}
2 changes: 1 addition & 1 deletion ChromiumHtmlToPdfLib/Helpers/ChromeFinder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private static string GetAppPath()
/// <returns></returns>
internal static string? Find()
{
// For Windows we first check the registry. This is the safest
// For Windows, we first check the registry. This is the safest
// method and also considers non-default installation locations.
// Note that Chrome x64 currently (February 2019) also gets installed
// in Program Files (x86) and uses the same registry key!
Expand Down
4 changes: 2 additions & 2 deletions ChromiumHtmlToPdfLib/Helpers/ExceptionHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static string GetCurrentMethodName(Assembly? assembly)

#region GetInnerException
/// <summary>
/// Returns the full exception with it's inner exceptions as a string
/// Returns the full exception with its inner exceptions as a string
/// </summary>
/// <param name="exception">The exception</param>
/// <returns></returns>
Expand All @@ -79,4 +79,4 @@ public static string GetInnerException(Exception? exception)
return result;
}
#endregion
}
}

0 comments on commit e9d409b

Please sign in to comment.