13a9bc443e
- Fixed mod list sync not checking for zero package diff length. - Fixed the services provider not being able to inject itself as a dependcency. - Added UseInternalName data spec to ModConfig.xml - Changed Basic.Reference.Assemblies to Net80.
26 lines
947 B
C#
26 lines
947 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Collections.Immutable;
|
|
using System.Diagnostics.CodeAnalysis;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using Microsoft.CodeAnalysis;
|
|
using Microsoft.CodeAnalysis.CSharp;
|
|
using OneOf;
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
namespace Barotrauma.LuaCs.Services;
|
|
|
|
public interface IAssemblyManagementService : IPluginManagementService
|
|
{
|
|
|
|
/// <summary>
|
|
/// Searches for an assembly given it's fully qualified name, while excluding the contexts with the given Guids, if supplied.
|
|
/// </summary>
|
|
/// <param name="assemblyName">The assembly info.</param>
|
|
/// <param name="excludedContexts">Guids of excluded contexts.</param>
|
|
/// <returns><b>On Success:</b> The assembly. <br/><b>On Failure:</b> nothing.</returns>
|
|
FluentResults.Result<Assembly> GetLoadedAssembly(OneOf<AssemblyName, string> assemblyName, in Guid[] excludedContexts);
|
|
}
|