mirror of https://github.com/winsw/winsw
Case-insensitive search for type name (#663)
parent
9c513e8584
commit
43690d3e6a
|
@ -228,7 +228,7 @@ namespace WinSW.Extensions
|
|||
|
||||
try
|
||||
{
|
||||
Type? t = Type.GetType(className);
|
||||
Type? t = Type.GetType(className, throwOnError: false, ignoreCase: true);
|
||||
if (t is null)
|
||||
{
|
||||
throw new ExtensionException(id, "Class " + className + " does not exist");
|
||||
|
|
Loading…
Reference in New Issue