Unosquare
    Show / Hide Table of Contents

    Class Definitions

    Contains useful constants and definitions.

    Inheritance
    Object
    Definitions
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Swan
    Syntax
    public static class Definitions

    Fields

    BasicTypesInfo

    The basic types information.

    Declaration
    public static readonly Lazy<Dictionary<Type, ExtendedTypeInfo>> BasicTypesInfo
    Field Value
    Type Description
    Lazy<Dictionary<Type, ExtendedTypeInfo>>

    CurrentAnsiEncoding

    The encoding associated with the default ANSI code page in the operating system's regional and language settings.

    Declaration
    public static readonly Encoding CurrentAnsiEncoding
    Field Value
    Type Description
    Encoding

    Windows1252Encoding

    The MS Windows codepage 1252 encoding used in some legacy scenarios such as default CSV text encoding from Excel.

    Declaration
    public static readonly Encoding Windows1252Encoding
    Field Value
    Type Description
    Encoding

    Properties

    AllBasicNullableValueTypes

    Gets all nullable value types. i.e. excludes string and all basic value types.

    Declaration
    public static IReadOnlyCollection<Type> AllBasicNullableValueTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All basic nullable value types.

    AllBasicTypes

    Contains all basic types, including string, date time, and all of their nullable counterparts.

    Declaration
    public static IReadOnlyCollection<Type> AllBasicTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All basic types.

    AllBasicValueAndStringTypes

    Contains all basic value types including the string type. i.e. excludes nullables.

    Declaration
    public static IReadOnlyCollection<Type> AllBasicValueAndStringTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All basic value and string types.

    AllBasicValueTypes

    Contains all basic value types. i.e. excludes string and nullables.

    Declaration
    public static IReadOnlyCollection<Type> AllBasicValueTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All basic value types.

    AllNumericTypes

    Gets all numeric types including their nullable counterparts. Note that Booleans and Guids are not considered numeric types.

    Declaration
    public static IReadOnlyCollection<Type> AllNumericTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All numeric types.

    AllNumericValueTypes

    Gets all numeric types without their nullable counterparts. Note that Booleans and Guids are not considered numeric types.

    Declaration
    public static IReadOnlyCollection<Type> AllNumericValueTypes { get; }
    Property Value
    Type Description
    IReadOnlyCollection<Type>

    All numeric value types.

    Comments

    Back to top Copyright © 2017-2019 Unosquare