14 .UseFileSystemApi(fs);
Exposes the BadScript Runtime Functionality to Consumers.
BadRuntime Clone()
Clone this Runtime.
BadRuntime UseLocalModules(IFileSystem? fs=null)
Registers the Local Path Handler to the Module Importer.
BadRuntime ConfigureModuleImporter(Action< BadExecutionContext, string, BadModuleImporter > action)
Configures the Module Importer.
BadRuntimeExecutionResult ExecuteFile(string file, IFileSystem? fileSystem=null)
Executes the specified script file.
static BadRuntimeExecutionResult RunContainer(this BadRuntime runtime, BadFileSystemStack stack)
BadLayeredFileSystem Create(bool createWritable=false)
Contains IO Extensions and APIs for the BadScript2 Runtime.
Gets returned by the bad runtime when an execution is finished.