Show / Hide Table of Contents

    Class Serializer<T>

    Represents the serializer.

    Inheritance
    Object
    Serializer<T>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Platform.Protocols.Xml
    Assembly: Platform.Protocols.dll
    Syntax
    public static class Serializer<T>
    Type Parameters
    Name Description
    T

    Fields

    | Improve this Doc View Source

    Instance

    The .

    Declaration
    public static readonly XmlSerializer Instance
    Field Value
    Type Description
    XmlSerializer

    Methods

    | Improve this Doc View Source

    FromFile(String)

    Creates the file using the specified path.

    Declaration
    public static T FromFile(string path)
    Parameters
    Type Name Description
    String path

    The path.

    Returns
    Type Description
    T

    The

    | Improve this Doc View Source

    FromString(String)

    Creates the string using the specified xml.

    Declaration
    public static T FromString(string xml)
    Parameters
    Type Name Description
    String xml

    The xml.

    Returns
    Type Description
    T

    The

    | Improve this Doc View Source

    ToFile(T, String)

    Returns the file using the specified object.

    Declaration
    public static void ToFile(T object, string path)
    Parameters
    Type Name Description
    T object
    String path

    The path.

    | Improve this Doc View Source

    ToString(T)

    Returns the string using the specified object.

    Declaration
    public static string ToString(T object)
    Parameters
    Type Name Description
    T object
    Returns
    Type Description
    String

    The string

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX