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 System.String.

    Inheritance
    System.Object
    Value
    Text
    Inherited Members
    Value.Null()
    Value.List()
    Value.Map()
    Value.From(String)
    Value.Text(String)
    Value.From(Int64)
    Value.Integer(Int64)
    Value.From(Decimal)
    Value.Float(Decimal)
    Value.From(Boolean)
    Value.Bool(Boolean)
    Value.From(IEnumerable<Value>)
    Value.From(IDictionary<String, Value>)
    Value.From(IEnumerable<KeyValuePair<String, Value>>)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    [Obsolete("Use the String constructor.")]
    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
    System.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
    System.String

    Methods

    | Improve this Doc View Source

    ToString()

    Converts this Value into a human-readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.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