Table of Contents

Method GetTypeByName

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v9.dll

GetTypeByName(string, IList<Assembly>, bool)

Retrieves type by its name.

public static object GetTypeByName(string name, IList<Assembly> assemblies, bool caseSensitive)

Parameters

name string

Specifies name of type.

assemblies IList<Assembly>

Collection of assemblies where type should be located.

caseSensitive bool

True to perform a case-sensitive search for type declaration, false to perform a case-insensitive search for type declaration.

Returns

object

The found type.

GetTypeByName(string, Assembly, bool)

protected static Type GetTypeByName(string name, Assembly assembly, bool caseSensitive)

Parameters

name string
assembly Assembly
caseSensitive bool

Returns

Type