using System.Collections.Immutable;
namespace RobotNet10.FleetManager.Script.Shared;
///
/// Provides configuration resources for the FleetManager ScriptEngine.
/// Defines the global type, namespaces, modules, and documentation modules available to scripts.
///
public class FleetManagerScriptEngineResource
{
///
/// Gets the global type that will be exposed to scripts as the entry point for FleetManager APIs.
///
public static readonly Type GlobalType = typeof(IFleetManagerScriptGlobals);
///
/// Gets the collection of namespaces that are automatically imported in scripts.
/// These namespaces are available without explicit using statements.
///
public static readonly ImmutableArray UsingNamespaces = [
"System",
"System.Collections.Generic",
"System.Threading",
"System.Threading.Tasks",
"System.Runtime.CompilerServices",
"RobotNet10.FleetManager.Script",
"RobotNet10.Script",
];
///
/// Gets the collection of assembly modules that are loaded and available to scripts.
/// These modules provide the runtime types and functionality accessible from scripts.
///
public static readonly ImmutableArray Modules = [
"System.Runtime",
"System.Collections",
"System.Private.CoreLib",
"RobotNet10.FleetManager.Script",
"RobotNet10.Script",
];
///
/// Gets the collection of XML documentation module files used for IntelliSense and code completion in scripts.
/// These documentation files provide type information and method descriptions to script editors.
///
public static readonly ImmutableArray DocModules = [
"System.Runtime.xml",
"System.Collections.xml",
//"System.Private.CoreLib.xml",
"RobotNet10.FleetManager.Script.xml",
"RobotNet10.Script.xml",
];
}