Retrieve all types from a given assembly.

Namespace: Cartella.Support
Assembly: CartellaBase (in CartellaBase.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public static Type[] GetTypesFromAssembly(
	Assembly assembly
)
Visual Basic
Public Shared Function GetTypesFromAssembly ( _
	assembly As Assembly _
) As Type()
Visual C++
public:
static array<Type^>^ GetTypesFromAssembly(
	Assembly^ assembly
)

Parameters

assembly
Type: System.Reflection..::..Assembly
Assembly from which to retrieve types

Return Value

List of types or empty array

Remarks

If assembly is null object, returns a empty array.

See Also