fix(dotnet): typo in HostFunction constructor that prevents setting Host Function namespace (#418)

The only interesting part is this:

ba1baef9fb/dotnet/src/Extism.Sdk/HostFunction.cs (L68)
This commit is contained in:
Muhammad Azeez
2023-08-15 20:05:37 +03:00
committed by GitHub
parent b6f2e845d9
commit 6102a99d98

View File

@@ -65,7 +65,7 @@ namespace Extism.Sdk
NativeHandle = LibExtism.extism_function_new(functionName, inputs, inputTypes.Length, outputs, outputTypes.Length, CallbackImpl, userData, IntPtr.Zero);
}
if (!string.IsNullOrEmpty(functionName))
if (!string.IsNullOrEmpty(@namespace))
{
LibExtism.extism_function_set_namespace(NativeHandle, @namespace);
}