SimpleVersion
Search Results for

    Show / Hide Table of Contents

    Interface ISerializer

    Handles serialization.

    Namespace: SimpleVersion
    Assembly: SimpleVersion.Abstractions.dll
    Syntax
    public interface ISerializer

    Methods

    | Improve this Doc View Source

    Deserialize<T>(String)

    Deserializes the given value into an new instance of T.

    Declaration
    T Deserialize<T>(string value)
    Parameters
    Type Name Description
    System.String value

    A string representation of T.

    Returns
    Type Description
    T

    An new instance of T populated from value.

    Type Parameters
    Name Description
    T

    The type to deserialize.

    | Improve this Doc View Source

    Serialize(Object)

    Serializes the given System.Object.

    Declaration
    string Serialize(object value)
    Parameters
    Type Name Description
    System.Object value

    The instance value.

    Returns
    Type Description
    System.String

    A string representation of the given value.

    Extension Methods

    TokenRuleExtensions.ResolveTokenRules<T>(T, IVersionContext, IEnumerable<ITokenRule<T>>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX