C# Class Tp.Integration.Messages.ServiceBus.Serialization.TypeInfo

Exibir arquivo Open project: TargetProcess/Target-Process-Plugins

Public Methods

Method Description
GetBinaryConstructorType ( Type type ) : Type

Returns the Type of the constructor with exact one parameter which is either a byte[] or a Stream.
A a non-null returnvalue is also an inducator, that the given Type has a constructor with a binary parameter.

HasBinaryConstructor ( Type type ) : bool

Determines whether the Type has a binary constructor. This is seen as an indication that this is binary data.

HasByteArrayConstructor ( Type type ) : bool

Returns whether the specified Type has a constructor with exact one parameter of byte[].

HasStreamConstructor ( Type type ) : bool

Returns whether the specified Type has a constructor with exact one parameter of Stream.

IsArray ( String type ) : bool

Determines whether the typename describes an array.

IsCollection ( Type type ) : bool

Determines whether a Type is a Collection type.

IsDictionary ( Type type ) : bool

Determines whether a Type is a Dictionary type.

IsList ( Type type ) : bool

Determines whether a Type is a List type.

TypeInfo ( ) : System

Constructor.

TypeInfo ( Type type ) : System

Constructor.

TypeInfo ( object obj ) : System

Constructor.

Method Details

GetBinaryConstructorType() public static method

Returns the Type of the constructor with exact one parameter which is either a byte[] or a Stream.
A a non-null returnvalue is also an inducator, that the given Type has a constructor with a binary parameter.
public static GetBinaryConstructorType ( Type type ) : Type
type System.Type
return System.Type

HasBinaryConstructor() public static method

Determines whether the Type has a binary constructor. This is seen as an indication that this is binary data.
public static HasBinaryConstructor ( Type type ) : bool
type System.Type
return bool

HasByteArrayConstructor() public static method

Returns whether the specified Type has a constructor with exact one parameter of byte[].
public static HasByteArrayConstructor ( Type type ) : bool
type System.Type
return bool

HasStreamConstructor() public static method

Returns whether the specified Type has a constructor with exact one parameter of Stream.
public static HasStreamConstructor ( Type type ) : bool
type System.Type
return bool

IsArray() public static method

Determines whether the typename describes an array.
public static IsArray ( String type ) : bool
type String
return bool

IsCollection() public static method

Determines whether a Type is a Collection type.
public static IsCollection ( Type type ) : bool
type System.Type
return bool

IsDictionary() public static method

Determines whether a Type is a Dictionary type.
public static IsDictionary ( Type type ) : bool
type System.Type
return bool

IsList() public static method

Determines whether a Type is a List type.
public static IsList ( Type type ) : bool
type System.Type
return bool

TypeInfo() public method

Constructor.
public TypeInfo ( ) : System
return System

TypeInfo() public method

Constructor.
public TypeInfo ( Type type ) : System
type System.Type
return System

TypeInfo() public method

Constructor.
public TypeInfo ( object obj ) : System
obj object
return System