Skip to content

Commit

Permalink
Fixed build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcroft committed May 16, 2020
1 parent 8632d91 commit e645156
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Legerity/ElementWrapper`1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ public abstract class ElementWrapper<TElement>
/// Initializes a new instance of the <see cref="ElementWrapper{TElement}"/> class.
/// </summary>
/// <param name="element">
/// The <see cref="TElement"/> reference.
/// The <typeparamref name="TElement"/> reference.
/// </param>
protected ElementWrapper(TElement element)
{
this.elementReference = new WeakReference(element);
}

/// <summary>Gets the original <see cref="TElement"/> reference object.</summary>
/// <summary>Gets the original <typeparamref name="TElement"/> reference object.</summary>
public TElement Element =>
this.elementReference != null && this.elementReference.IsAlive
? this.elementReference.Target as TElement
Expand All @@ -47,7 +47,7 @@ protected ElementWrapper(TElement element)
/// </summary>
/// <param name="query">The query to find a specific element.</param>
/// <param name="timeout">
/// The amount of time the driver should wait when searching for the <see cref="query"/> if it is not immediately present.
/// The amount of time the driver should wait when searching for the <paramref name="query"/> if it is not immediately present.
/// </param>
protected void VerifyElementShown(By query, TimeSpan? timeout)
{
Expand All @@ -72,7 +72,7 @@ protected void VerifyElementShown(By query, TimeSpan? timeout)
/// The query to find a collection of elements.
/// </param>
/// <param name="timeout">
/// The amount of time the driver should wait when searching for the <see cref="query"/> if it is not immediately present.
/// The amount of time the driver should wait when searching for the <paramref name="query"/> if it is not immediately present.
/// </param>
protected void VerifyElementsShown(By query, TimeSpan? timeout)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Legerity/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ internal static class StringExtensions
/// Determines whether the specified value contains the comparison value by the specified culture and comparison option.
/// </summary>
/// <param name="value">
/// The value to check contains the <see cref="contains"/> value.
/// The value to check contains the <paramref name="contains"/> value.
/// </param>
/// <param name="contains">
/// The value that should be contained within the <see cref="value"/>.
/// The value that should be contained within the <paramref name="value"/>.
/// </param>
/// <param name="culture">
/// The culture for comparison.
Expand Down
4 changes: 2 additions & 2 deletions src/Legerity/Windows/Elements/WindowsElementWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ protected WindowsElementWrapper(WindowsElement element)
/// </summary>
/// <param name="query">The query to find a specific element.</param>
/// <param name="timeout">
/// The amount of time the driver should wait when searching for the <see cref="query"/> if it is not immediately present.
/// The amount of time the driver should wait when searching for the <paramref name="query"/> if it is not immediately present.
/// </param>
protected void VerifyDriverElementShown(By query, TimeSpan? timeout)
{
Expand All @@ -59,7 +59,7 @@ protected void VerifyDriverElementShown(By query, TimeSpan? timeout)
/// The query to find a collection of elements.
/// </param>
/// <param name="timeout">
/// The amount of time the driver should wait when searching for the <see cref="query"/> if it is not immediately present.
/// The amount of time the driver should wait when searching for the <paramref name="query"/> if it is not immediately present.
/// </param>
protected void VerifyDriverElementsShown(By query, TimeSpan? timeout)
{
Expand Down

0 comments on commit e645156

Please sign in to comment.