using System.Reflection;
using JetBrains.Annotations;
using NugetForUnity.Configuration;
namespace NugetForUnity.Helper
{
///
/// Assembly load implementation for Unity Editor. There is another implementation for CLI version.
///
internal static class AssemblyLoader
{
///
/// Loads the assembly for the given .
///
/// Plugin Id to load.
/// Assembly of the loaded plugin.
[NotNull]
internal static Assembly Load([NotNull] NugetForUnityPluginId pluginId)
{
return Assembly.Load(pluginId.Name);
}
}
}