mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-10-30 18:33:33 +00:00
* Updated documentation for the revised Inline Script approach, aligning with context, strategy, and pipeline patterns. Inline Scripts now use a transient instance model; dependencies are assumed to exist in the context, and state is not supported. * Added a syntax tree helper parser for VB.net and C# in the data layer, enhancing queries for request XPath fields and Inline Script properties in the UI. The syntax tree helper is a Roslyn-based parser for Inline Scripts that extracts public properties without a full compile, enabling property access in the UI for rule writing and abstraction rules. * Inline Script properties fully supported in parser, completions for coder and builder, and abstraction rule grouping keys, with search keys synchronized via the `SearchKey` attribute. * Refactored Inline Script methdology to be a transient instance class, merging payload values from public properties via reflection, removing the need to manually add properties. * Added migrations to include a language identifier for Inline Scripts. * Inline Scripts now fully support C# and Visual Basic (VB.net). * Removed `ClassName` and `MethodName` from the `EntityAnalysisInlineScript` table, now derived from the IInlineScript interface. * Updated Activation Rule Library to fall back to Inline Script properties if Latitude and Longitude are not specified in the Request XPath. * Moved Inline Script execution to asynchronous methods to avoid blocking IO during potential remote calls; updated reflection helpers accordingly. * Renamed variables to better match POCO conventions, as came across them. * Updated assembly loading for Inline Scripts to include all assemblies in the Jube.App context. * Optimized Inline Script synchronization to reduce unnecessary reflection during invocation. * Created Jube.Sandbox for testing and deploying Inline Scripts outside the main application. * Updated Inline Script OTP demo code new Inline Script Interface signature.
15 lines
369 B
XML
15 lines
369 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Jube.Engine\Jube.Engine.csproj"/>
|
|
</ItemGroup>
|
|
|
|
</Project>
|