ClassCatalog.

GetInstance<T>(string, bool) Method

Summary

Gets an instance for a class of a specified type and name.

Syntax

public T GetInstance<T>(string typeName, bool ignoreCase = false)

Type Parameters

Name Description
T The type of the instance to get.

Parameters

Name Type Description
typeName string The name of the type.
ignoreCase bool if set to true ignore the case of the type name.

Return Value

Type Description
T An instance of the first class that matches the specified type and name.
GitHub