Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
namespace RobotNet10.RobotApp.Script.Shared;
public interface IRobotAppScriptGlobals
{
IRobot Robot { get; }
}

View File

@@ -0,0 +1,34 @@
using System.Collections.Immutable;
namespace RobotNet10.RobotApp.Script.Shared;
public class RobotAppScriptEngineResource
{
public static readonly Type GlobalType = typeof(IRobotAppScriptGlobals);
public static readonly ImmutableArray<string> UsingNamespaces = [
"System",
"System.Collections.Generic",
"System.Threading",
"System.Threading.Tasks",
"System.Runtime.CompilerServices",
"RobotNet10.RobotApp.Script",
"RobotNet10.Script",
];
public static readonly ImmutableArray<string> Modules = [
"System.Runtime",
"System.Collections",
"System.Private.CoreLib",
"RobotNet10.RobotApp.Script",
"RobotNet10.Script",
];
public static readonly ImmutableArray<string> DocModules = [
"System.Runtime.xml",
"System.Collections.xml",
//"System.Private.CoreLib.xml",
"RobotNet10.RobotApp.Script.xml",
"RobotNet10.Script.xml",
];
}

View File

@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\RobotNet10.RobotApp.Script\RobotNet10.RobotApp.Script.csproj" />
</ItemGroup>
</Project>