using System;
using System.Collections.Immutable;
using System.Reflection;
using Barotrauma.LuaCs.Data;
using Microsoft.CodeAnalysis;
namespace Barotrauma.LuaCs.Services;
public interface IPluginManagementService : IReusableService
{
///
/// Checks if the supplied resource is currently loaded.
///
/// The resource to check.
///
bool IsResourceLoaded(T resource) where T : IAssemblyResourceInfo;
///
///
///
///
///
///
///
///
///
FluentResults.Result> GetImplementingTypes(
string namespacePrefix = null,
bool includeInterfaces = false,
bool includeAbstractTypes = false,
bool includeDefaultContext = true);
///
/// Tries to get the
///
///
///
Type GetType(string typeName);
///
///
///
///
/// Success/Failure and list of failed resources, if any.
FluentResults.Result> LoadAssemblyResources(ImmutableArray resource);
}