@@ -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