TriLib
Search Results for

    Show / Hide Table of Contents

    Class ConversionUtils

    Represents a series of Generic Structs conversion utility methods.

    Inheritance
    object
    ConversionUtils
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: TriLibCore.Utils
    Assembly: TriLibCore.dll
    Syntax
    public static class ConversionUtils

    Methods

    GetValue<TIn, TOut>(TIn)

    Gets the given value as the type TOut.

    Declaration
    public static TOut GetValue<TIn, TOut>(TIn value)
    Parameters
    Type Name Description
    TIn value

    The input value.

    Returns
    Type Description
    TOut

    The output value as the type TOut.

    Type Parameters
    Name Description
    TIn

    The input value type.

    TOut

    The output value type.

    In this article
    Back to top Generated by DocFX