Skip to content

Commit a772df7

Browse files
authored
Fix swapped XML doc in IH5Object (#156)
1 parent 2b9f966 commit a772df7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/PureHDF/API.Reading/IH5Object.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@ public interface IH5Object
2626
/// </summary>
2727
/// <param name="name">The name of the attribute.</param>
2828
/// <returns>A boolean which indicates if the attribute exists.</returns>
29-
IH5Attribute Attribute(string name);
29+
bool AttributeExists(string name);
3030

3131
/// <summary>
3232
/// Checks if the attribute with the specified <paramref name="name"/> exist.
3333
/// </summary>
3434
/// <param name="name">The name of the attribute.</param>
3535
/// <param name="cancellationToken">A token to cancel the current operation.</param>
3636
/// <returns>A boolean which indicates if the attribute exists.</returns>
37-
Task<IH5Attribute> AttributeAsync(string name, CancellationToken cancellationToken = default);
37+
Task<bool> AttributeExistsAsync(string name, CancellationToken cancellationToken = default);
3838

3939
/// <summary>
4040
/// Gets the attribute named <paramref name="name"/>.
4141
/// </summary>
4242
/// <param name="name">The name of the attribute.</param>
4343
/// <returns>The requested attribute.</returns>
44-
bool AttributeExists(string name);
44+
IH5Attribute Attribute(string name);
4545

4646
/// <summary>
4747
/// Gets the attribute named <paramref name="name"/>.
4848
/// </summary>
4949
/// <param name="name">The name of the attribute.</param>
5050
/// <param name="cancellationToken">A token to cancel the current operation.</param>
5151
/// <returns>The requested attribute.</returns>
52-
Task<bool> AttributeExistsAsync(string name, CancellationToken cancellationToken = default);
53-
}
52+
Task<IH5Attribute> AttributeAsync(string name, CancellationToken cancellationToken = default);
53+
}

0 commit comments

Comments
 (0)