Search Results for

    Show / Hide Table of Contents

    Class Text

    A Value representing a piece of text. The only reason this is not named String is so that it doesn't conflict with .

    Inheritance
    Object
    Value
    Text
    Inherited Members
    Value.Null()
    Value.List()
    Value.Map()
    Value.From(Nullable<String>)
    Value.Text(Nullable<String>)
    Value.From(Int64)
    Value.Integer(Int64)
    Value.From(Decimal)
    Value.Float(Decimal)
    Value.From(Boolean)
    Value.Bool(Boolean)
    Value.From(Nullable<IEnumerable<Value>>)
    Value.From(IDictionary<String, Value>)
    Value.From(Nullable<IEnumerable<KeyValuePair<String, Value>>>)
    Namespace: IPA.Config.Data
    Assembly: IPA.Loader.dll
    Syntax
    public sealed class Text : Value

    Constructors

    | Improve this Doc View Source

    Text()

    Constructs an empty Text object.

    Declaration
    public Text()
    | Improve this Doc View Source

    Text(String)

    Constructs a Text object containing the provided value.

    Declaration
    public Text(string value)
    Parameters
    Type Name Description
    String value

    The value to construct with.

    Properties

    | Improve this Doc View Source

    Value

    The actual value of this Text object.

    Declaration
    public string Value { get; set; }
    Property Value
    Type Description
    String

    Methods

    | Improve this Doc View Source

    ToString()

    Converts this Value into a human-readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    a quoted, unescaped string form of Value

    Overrides
    Value.ToString()

    Extension Methods

    ReflectionUtil.SetField<T, U>(T, String, U)
    ReflectionUtil.GetField<U, T>(T, String)
    ReflectionUtil.SetProperty<T, U>(T, String, U)
    ReflectionUtil.GetProperty<U, T>(T, String)
    ReflectionUtil.InvokeMethod<U, T>(T, String, Object[])
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX