Search Results for

    Show / Hide Table of Contents

    Class FormattedText

    A formatted_text value.

    Inheritance
    object
    FormattedText
    Implements
    IEquatable<FormattedText>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Activout.Blue5.Attributes
    Assembly: Activout.Blue5.dll
    Syntax
    public sealed record FormattedText : IEquatable<FormattedText>

    Constructors

    | Edit this page View Source

    FormattedText(string, string?)

    A formatted_text value.

    Declaration
    public FormattedText(string Content, string? ContentType)
    Parameters
    Type Name Description
    string Content

    Markdown or HTML source.

    string ContentType

    text/markdown, text/html, or null if not supplied.

    Properties

    | Edit this page View Source

    Content

    Markdown or HTML source.

    Declaration
    public string Content { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    ContentType

    text/markdown, text/html, or null if not supplied.

    Declaration
    public string? ContentType { get; init; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    ToString()

    Returns Content.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX