Class Attribute
Describes an attribute on an HTML tag. You usually won't need this API.
Implements
Microsoft.AspNetCore.Html.IHtmlContent
Inherited Members
Namespace: ToSic.Razor.Markup
Assembly: ToSic.Razor.dll
Syntax
public class Attribute : AttributeBase, IHtmlContent
Constructors
| Improve this Doc View SourceAttribute(String, Object, AttributeOptions)
Declaration
public Attribute(string name, object value = null, AttributeOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Object | value | |
AttributeOptions | options |
Implements
Microsoft.AspNetCore.Html.IHtmlContent