• Home
  • Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • ToSic.Razor.Blade
      • IHtmlTag
      • IHtmlTagsService
      • IScrub
      • Tag
      • Tags
      • Text
    • ToSic.Razor.Html5
      • A
      • Abbr
      • Address
      • Area
      • Article
      • Aside
      • Audio
      • B
      • Base
      • Bdi
      • Bdo
      • Blockquote
      • Br
      • Button
      • Canvas
      • Caption
      • Cite
      • Code
      • Col
      • Colgroup
      • Comment
      • Data
      • Datalist
      • Dd
      • Del
      • Details
      • Dfn
      • Dialog
      • Div
      • Dl
      • Dt
      • Em
      • Embed
      • Fieldset
      • Figcaption
      • Figure
      • Footer
      • Form
      • H1
      • H2
      • H3
      • H4
      • H5
      • H6
      • Head
      • Header
      • Hr
      • I
      • Icon
      • Iframe
      • Img
      • Input
      • Ins
      • Kbd
      • Label
      • Legend
      • Li
      • Link
      • Main
      • Map
      • Mark
      • Meta
      • MetaOg
      • Meter
      • Nav
      • Noscript
      • Object
      • Ol
      • Optgroup
      • Option
      • Output
      • P
      • Param
      • Picture
      • Pre
      • Progress
      • Q
      • Rp
      • Rt
      • Ruby
      • S
      • Samp
      • Script
      • ScriptJsonLd
      • Section
      • Select
      • Small
      • Source
      • Span
      • Strong
      • Style
      • Sub
      • Summary
      • Sup
      • Svg
      • Table
      • Tbody
      • Td
      • Template
      • Textarea
      • Tfoot
      • Th
      • Thead
      • Time
      • Tr
      • Track
      • U
      • Ul
      • Var
      • Video
      • Wbr
    • ToSic.Razor.Markup
      • Attribute
      • AttributeOptions
      • Attributes
      • ITag
      • Tag<T>
      • TagBase
      • TagChildren
      • TagCustom
      • TagList
      • TagOptions
      • TagText
    • ToSic.Razor.StartUp
      • StartUp

    Class Attributes

    Inheritance
    System.Object
    ToSic.Razor.Markup.RawHtmlString
    Attributes
    Implements
    System.Web.IHtmlString
    Namespace: ToSic.Razor.Markup
    Assembly: ToSic.Razor.dll
    Syntax
    public class Attributes : RawHtmlString, IRawHtmlString, IHtmlString

    Constructors

    | Improve this Doc View Source

    Attributes(AttributeOptions, IEnumerable<Attribute>, IEnumerable<Attribute>)

    Declaration
    public Attributes(AttributeOptions options = null, IEnumerable<Attribute> list = null, IEnumerable<Attribute> additions = null)
    Parameters
    Type Name Description
    AttributeOptions options
    System.Collections.Generic.IEnumerable<Attribute> list
    System.Collections.Generic.IEnumerable<Attribute> additions
    | Improve this Doc View Source

    Attributes(Attributes, AttributeOptions)

    Declaration
    public Attributes(Attributes original, AttributeOptions options = null)
    Parameters
    Type Name Description
    Attributes original
    AttributeOptions options

    Fields

    | Improve this Doc View Source

    Options

    Serialization options to use for all attributes, unless an attribute has own options

    Declaration
    public AttributeOptions Options
    Field Value
    Type Description
    AttributeOptions

    Properties

    | Improve this Doc View Source

    List

    Declaration
    public IReadOnlyCollection<Attribute> List { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyCollection<Attribute>

    Methods

    | Improve this Doc View Source

    AddUrl(String, Object, String)

    Declaration
    public Attributes AddUrl(string name, object value = null, string appendSeparator = null)
    Parameters
    Type Name Description
    System.String name
    System.Object value
    System.String appendSeparator
    Returns
    Type Description
    Attributes
    | Improve this Doc View Source

    ToString()

    Gets the HTML safe string

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    ToSic.Razor.Markup.RawHtmlString.ToString()

    Implements

    System.Web.IHtmlString
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX