Search Results for

    Show / Hide Table of Contents

    Class XmlNet

    JsonNet style XML serialization and deserialization utilities.

    Inheritance
    object
    XmlNet
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.IO.Xml
    Assembly: Glitch9.IO.dll
    Syntax
    public static class XmlNet

    Methods

    | Edit this page View Source

    Deserialize(string, Type, XmlSerializerSettings)

    Declaration
    public static object Deserialize(string xml, Type type, XmlSerializerSettings settings = null)
    Parameters
    Type Name Description
    string xml
    Type type
    XmlSerializerSettings settings
    Returns
    Type Description
    object
    | Edit this page View Source

    Deserialize<T>(string, XmlSerializerSettings)

    Declaration
    public static T Deserialize<T>(string xml, XmlSerializerSettings settings = null)
    Parameters
    Type Name Description
    string xml
    XmlSerializerSettings settings
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Serialize(object, Type, XmlSerializerSettings)

    Declaration
    public static string Serialize(object obj, Type type, XmlSerializerSettings settings = null)
    Parameters
    Type Name Description
    object obj
    Type type
    XmlSerializerSettings settings
    Returns
    Type Description
    string
    | Edit this page View Source

    Serialize<T>(T, XmlSerializerSettings)

    Declaration
    public static string Serialize<T>(T obj, XmlSerializerSettings settings = null)
    Parameters
    Type Name Description
    T obj
    XmlSerializerSettings settings
    Returns
    Type Description
    string
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation