diff --git a/src/Rhythm.Drop.Builders/Links/IHtmlAttributesLinkBuilder.cs b/src/Rhythm.Drop.Builders/Links/IHtmlAttributesLinkBuilder.cs
index 253393c..c0d5cd3 100644
--- a/src/Rhythm.Drop.Builders/Links/IHtmlAttributesLinkBuilder.cs
+++ b/src/Rhythm.Drop.Builders/Links/IHtmlAttributesLinkBuilder.cs
@@ -1,7 +1,5 @@
namespace Rhythm.Drop.Builders.Links;
-using Rhythm.Drop.Models.Common.Attributes;
-
///
/// A contract for creating a link builder which modifies attributes.
///
@@ -9,17 +7,17 @@
public interface IHtmlAttributesLinkBuilder
{
///
- /// Adds an attribute to the current builder.
+ /// Sets an attribute to the current builder.
///
/// The name of the attribute.
/// The value of the attribute.
/// A .
- TBuilder IncludeAttribute(string name, object? value);
+ TBuilder SetAttribute(string name, object? value);
///
/// Removes an attribute from the current builder.
///
/// The name of the attribute.
/// A .
- TBuilder ExcludeAttribute(string name);
+ TBuilder RemoveAttribute(string name);
}
\ No newline at end of file
diff --git a/src/Rhythm.Drop.Builders/Links/Modals/ModalLinkBuilder.cs b/src/Rhythm.Drop.Builders/Links/Modals/ModalLinkBuilder.cs
index cb0df6c..086d47e 100644
--- a/src/Rhythm.Drop.Builders/Links/Modals/ModalLinkBuilder.cs
+++ b/src/Rhythm.Drop.Builders/Links/Modals/ModalLinkBuilder.cs
@@ -51,14 +51,14 @@ public IModalAndLabelLinkBuilder AndLabel(string? label)
}
///
- public IModalAndLabelLinkBuilder ExcludeAttribute(string name)
+ public IModalAndLabelLinkBuilder RemoveAttribute(string name)
{
_attributes.RemoveAttribute(name);
return this;
}
///
- public IModalAndLabelLinkBuilder IncludeAttribute(string name, object? value)
+ public IModalAndLabelLinkBuilder SetAttribute(string name, object? value)
{
_attributes.SetAttribute(name, value);
return this;
diff --git a/src/Rhythm.Drop.Builders/Links/Url/UrlLinkBuilder.cs b/src/Rhythm.Drop.Builders/Links/Url/UrlLinkBuilder.cs
index 6341082..f431ecb 100644
--- a/src/Rhythm.Drop.Builders/Links/Url/UrlLinkBuilder.cs
+++ b/src/Rhythm.Drop.Builders/Links/Url/UrlLinkBuilder.cs
@@ -41,14 +41,14 @@ public IUrlAndLabelLinkBuilder AndLabel(string? label)
}
///
- public IUrlAndLabelLinkBuilder ExcludeAttribute(string name)
+ public IUrlAndLabelLinkBuilder RemoveAttribute(string name)
{
_attributes.RemoveAttribute(name);
return this;
}
///
- public IUrlAndLabelLinkBuilder IncludeAttribute(string name, object? value)
+ public IUrlAndLabelLinkBuilder SetAttribute(string name, object? value)
{
_attributes.SetAttribute(name, value);
return this;