Table of Contents

Class TypeUtilitarian

Namespace
Cobilas
Assembly
Cobilas.Core.dll

Utility static class to obtain type or assembly.

public static class TypeUtilitarian
Inheritance
TypeUtilitarian
Inherited Members

Methods

GetAssemblies()

Get all assemblies for the current domain.

public static Assembly[] GetAssemblies()

Returns

Assembly[]

Returns a list all assemblies of the domain.

GetType(string)

Get a specific type.

public static Type GetType(string fullName)

Parameters

fullName string

The full name of the type. (example:System.String)

Returns

Type

Returns the type that was specified in the parameter.

If the specified type is not found had returned the NullObject type.

GetTypes()

Get all types of assembly.

public static Type[] GetTypes()

Returns

Type[]

Returns all types of objects from all assemblies.

TypeExist(string)

Checks if the type exists.

public static bool TypeExist(string fullName)

Parameters

fullName string

The full name of the type. (example:System.String)

Returns

bool

Returns true when the type exists.