Unosquare
    Show / Hide Table of Contents

    Class ExtendedTypeInfo<T>

    Provides extended information about a type.

    This class is mainly used to define sets of types within the Constants class and it is not meant for other than querying the BasicTypesInfo dictionary.

    Inheritance
    Object
    ExtendedTypeInfo
    ExtendedTypeInfo<T>
    Inherited Members
    ExtendedTypeInfo.Type
    ExtendedTypeInfo.IsNullableValueType
    ExtendedTypeInfo.IsNumeric
    ExtendedTypeInfo.IsValueType
    ExtendedTypeInfo.UnderlyingType
    ExtendedTypeInfo.TryParseMethodInfo
    ExtendedTypeInfo.ToStringMethodInfo
    ExtendedTypeInfo.CanParseNatively
    ExtendedTypeInfo.TryParse(String, Object)
    ExtendedTypeInfo.ToStringInvariant(Object)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan.Reflection
    Syntax
    public class ExtendedTypeInfo<T> : ExtendedTypeInfo
    Type Parameters
    Name Description
    T

    The type of extended type information.

    Constructors

    ExtendedTypeInfo()

    Initializes a new instance of the ExtendedTypeInfo<T> class.

    Declaration
    public ExtendedTypeInfo()

    Methods

    ToStringInvariant(T)

    Converts this instance to its string representation, trying to use the CultureInfo.InvariantCulture IFormat provider if the overload is available.

    Declaration
    public string ToStringInvariant(T instance)
    Parameters
    Type Name Description
    T instance

    The instance.

    Returns
    Type Description
    String

    A String that represents the current object.

    Comments

    Back to top Copyright © 2017-2019 Unosquare