C# Class KellermanSoftware.CompareNetObjects.TypeHelper

Methods for detecting
Afficher le fichier Open project: GregFinzer/Compare-Net-Objects

Méthodes publiques

Méthode Description
CanHaveChildren ( Type type ) : bool

Returns true if the type can have children

IsArray ( Type type ) : bool

True if the type is an array

IsByteArray ( Type type ) : bool

Returns true if it is a byte array

IsClass ( Type type ) : bool

Return true if the type is a class

IsDataRow ( Type type ) : bool

Returns true if the type is a data row

IsDataTable ( Type type ) : bool

Returns true if the type is a data table

IsDataset ( Type type ) : bool

Returns true if the type is a dataset

IsDateTime ( Type type ) : bool

Return true if the type is a DateTime

IsDateTimeOffset ( Type type ) : bool

Return true if the type is a DateTimeOffset

IsDouble ( Type type ) : bool

Return true if the type is a Double

IsEnum ( Type type ) : bool

Return true if the type is an enum

IsEnumerable ( Type type ) : bool

Return true if the type is an Enumerable

IsFont ( Type type ) : bool

Returns true if the type is a font

IsHashSet ( Type type ) : bool

Return true if the type is a hashset

IsIDictionary ( Type type ) : bool

Return true if the type is a dictionary

IsIList ( Type type ) : bool

Return true if the type is a List

IsInterface ( Type type ) : bool

Return true if the type is an interface

IsIpEndPoint ( Type type ) : bool

Returns true if the type is an IPEndPoint

IsPointer ( Type type ) : bool

Return true if the type is a pointer

IsRuntimeType ( Type type ) : bool

Returns true if the Type is a Runtime type

IsSimpleType ( Type type ) : bool

Return true if the type is a primitive type, date, decimal, string, or GUID

IsString ( Type type ) : bool

Return true if the type is a string

IsStruct ( Type type ) : bool

Returns true if it is a struct

IsTimespan ( Type type ) : bool

Returns true if the type is a timespan

IsUri ( Type type ) : bool

Return true if the type is a URI

Method Details

CanHaveChildren() public static méthode

Returns true if the type can have children
public static CanHaveChildren ( Type type ) : bool
type System.Type
Résultat bool

IsArray() public static méthode

True if the type is an array
public static IsArray ( Type type ) : bool
type System.Type
Résultat bool

IsByteArray() public static méthode

Returns true if it is a byte array
public static IsByteArray ( Type type ) : bool
type System.Type
Résultat bool

IsClass() public static méthode

Return true if the type is a class
public static IsClass ( Type type ) : bool
type System.Type
Résultat bool

IsDataRow() public static méthode

Returns true if the type is a data row
public static IsDataRow ( Type type ) : bool
type System.Type
Résultat bool

IsDataTable() public static méthode

Returns true if the type is a data table
public static IsDataTable ( Type type ) : bool
type System.Type
Résultat bool

IsDataset() public static méthode

Returns true if the type is a dataset
public static IsDataset ( Type type ) : bool
type System.Type
Résultat bool

IsDateTime() public static méthode

Return true if the type is a DateTime
public static IsDateTime ( Type type ) : bool
type System.Type
Résultat bool

IsDateTimeOffset() public static méthode

Return true if the type is a DateTimeOffset
public static IsDateTimeOffset ( Type type ) : bool
type System.Type
Résultat bool

IsDouble() public static méthode

Return true if the type is a Double
public static IsDouble ( Type type ) : bool
type System.Type
Résultat bool

IsEnum() public static méthode

Return true if the type is an enum
public static IsEnum ( Type type ) : bool
type System.Type
Résultat bool

IsEnumerable() public static méthode

Return true if the type is an Enumerable
public static IsEnumerable ( Type type ) : bool
type System.Type
Résultat bool

IsFont() public static méthode

Returns true if the type is a font
public static IsFont ( Type type ) : bool
type System.Type The type1.
Résultat bool

IsHashSet() public static méthode

Return true if the type is a hashset
public static IsHashSet ( Type type ) : bool
type System.Type
Résultat bool

IsIDictionary() public static méthode

Return true if the type is a dictionary
public static IsIDictionary ( Type type ) : bool
type System.Type
Résultat bool

IsIList() public static méthode

Return true if the type is a List
public static IsIList ( Type type ) : bool
type System.Type
Résultat bool

IsInterface() public static méthode

Return true if the type is an interface
public static IsInterface ( Type type ) : bool
type System.Type
Résultat bool

IsIpEndPoint() public static méthode

Returns true if the type is an IPEndPoint
public static IsIpEndPoint ( Type type ) : bool
type System.Type
Résultat bool

IsPointer() public static méthode

Return true if the type is a pointer
public static IsPointer ( Type type ) : bool
type System.Type
Résultat bool

IsRuntimeType() public static méthode

Returns true if the Type is a Runtime type
public static IsRuntimeType ( Type type ) : bool
type System.Type
Résultat bool

IsSimpleType() public static méthode

Return true if the type is a primitive type, date, decimal, string, or GUID
public static IsSimpleType ( Type type ) : bool
type System.Type
Résultat bool

IsString() public static méthode

Return true if the type is a string
public static IsString ( Type type ) : bool
type System.Type
Résultat bool

IsStruct() public static méthode

Returns true if it is a struct
public static IsStruct ( Type type ) : bool
type System.Type
Résultat bool

IsTimespan() public static méthode

Returns true if the type is a timespan
public static IsTimespan ( Type type ) : bool
type System.Type
Résultat bool

IsUri() public static méthode

Return true if the type is a URI
public static IsUri ( Type type ) : bool
type System.Type
Résultat bool