using System; using System.Threading.Tasks; namespace Prise.AssemblyLoading { public interface IAssemblyLoadContext : IDisposable { /// /// Loads a specific plugin assembly into the current IAssemblyLoader /// /// The loadcontext for the plugin /// Task LoadPluginAssembly(IPluginLoadContext loadContext); /// /// Unloads all assemblies that were loaded for this plugin /// /// Task Unload(); } }