Rename Scripts to Expressions.
This commit is contained in:
parent
74e9bfc7ce
commit
044be5c09a
|
|
@ -36,4 +36,9 @@
|
|||
<!-- IL trimming warnings -->
|
||||
<NoWarn>$(NoWarn);IL2026;IL2046;IL2057;IL2067;IL2070;IL2072;IL2075;IL2087;IL2091</NoWarn>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Label="PackageVersions">
|
||||
<ElsaStudioVersion>3.6.0-preview.1018</ElsaStudioVersion>
|
||||
<ElsaExtensionsVersion>3.6.0-preview.28</ElsaExtensionsVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -3,6 +3,26 @@
|
|||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Label="Elsa">
|
||||
<PackageVersion Include="Elsa.Actors.ProtoActor" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Alterations" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Caching" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.DropIns" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Http" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Http.Webhooks" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scripting.CSharp" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scripting.Dsl" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scripting.JavaScript" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scripting.Liquid" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scripting.Python" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Scheduling" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Persistence.MongoDb" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.WorkflowProviders.BlobStorage" Version="$(ElsaExtensionsVersion)"/>
|
||||
<PackageVersion Include="Elsa.Studio" Version="$(ElsaStudioVersion)"/>
|
||||
<PackageVersion Include="Elsa.Studio.Agents" Version="$(ElsaStudioVersion)"/>
|
||||
<PackageVersion Include="Elsa.Studio.Core.BlazorWasm" Version="$(ElsaStudioVersion)"/>
|
||||
<PackageVersion Include="Elsa.Studio.Login.BlazorWasm" Version="$(ElsaStudioVersion)"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageVersion Include="Antlr4.Runtime.Standard" Version="4.13.1"/>
|
||||
<PackageVersion Include="AppAny.Quartz.EntityFrameworkCore.Migrations" Version="0.5.1"/>
|
||||
|
|
@ -11,7 +31,7 @@
|
|||
<PackageVersion Include="AppAny.Quartz.EntityFrameworkCore.Migrations.SQLite" Version="0.5.1"/>
|
||||
<PackageVersion Include="AppAny.Quartz.EntityFrameworkCore.Migrations.SqlServer" Version="0.5.1"/>
|
||||
<PackageVersion Include="AutoMapper" Version="14.0.0" PrivateAssets="All"/>
|
||||
<PackageVersion Include="Azure.Identity" Version="1.13.2"/>
|
||||
<PackageVersion Include="Azure.Identity" Version="1.14.0"/>
|
||||
<PackageVersion Include="Azure.Messaging.ServiceBus" Version="7.19.0"/>
|
||||
<PackageVersion Include="Azure.ResourceManager" Version="1.13.1"/>
|
||||
<PackageVersion Include="Azure.ResourceManager.AppContainers" Version="1.3.0"/>
|
||||
|
|
@ -23,21 +43,17 @@
|
|||
<PackageVersion Include="Confluent.Kafka" Version="2.10.0"/>
|
||||
<PackageVersion Include="Confluent.SchemaRegistry.Serdes.Avro" Version="2.10.0"/>
|
||||
<PackageVersion Include="coverlet.collector" Version="6.0.4" PrivateAssets="All"/>
|
||||
<PackageVersion Include="Cronos" Version="0.10.0"/>
|
||||
<PackageVersion Include="Cronos" Version="0.11.0"/>
|
||||
<PackageVersion Include="Dapper" Version="2.1.66"/>
|
||||
<PackageVersion Include="Datadog.Trace.Bundle" Version="3.16.0"/>
|
||||
<PackageVersion Include="DistributedLock.Core" Version="1.0.8"/>
|
||||
<PackageVersion Include="DistributedLock.FileSystem" Version="1.0.3"/>
|
||||
<PackageVersion Include="DistributedLock.Postgres" Version="1.3.0"/>
|
||||
<PackageVersion Include="DistributedLock.Redis" Version="1.0.3"/>
|
||||
<PackageVersion Include="Elsa.Studio" Version="3.6.0-preview.979"/>
|
||||
<PackageVersion Include="Elsa.Studio.Agents" Version="3.6.0-preview.979"/>
|
||||
<PackageVersion Include="Elsa.Studio.Core.BlazorWasm" Version="3.6.0-preview.979"/>
|
||||
<PackageVersion Include="Elsa.Studio.Login.BlazorWasm" Version="3.6.0-preview.979"/>
|
||||
<PackageVersion Include="Elastic.Clients.Elasticsearch" Version="9.0.1"/>
|
||||
<PackageVersion Include="FastEndpoints" Version="6.0.0"/>
|
||||
<PackageVersion Include="FastEndpoints.Security" Version="6.0.0"/>
|
||||
<PackageVersion Include="FastEndpoints.Swagger" Version="6.0.0"/>
|
||||
<PackageVersion Include="FastEndpoints" Version="6.1.0"/>
|
||||
<PackageVersion Include="FastEndpoints.Security" Version="6.1.0"/>
|
||||
<PackageVersion Include="FastEndpoints.Swagger" Version="6.1.0"/>
|
||||
<PackageVersion Include="FluentMigrator" Version="7.1.0"/>
|
||||
<PackageVersion Include="FluentMigrator.Runner" Version="7.1.0"/>
|
||||
<PackageVersion Include="FluentStorage" Version="5.6.0"/>
|
||||
|
|
@ -45,7 +61,7 @@
|
|||
<PackageVersion Include="Fluid.Core" Version="2.23.0"/>
|
||||
<PackageVersion Include="Fody" Version="6.9.2"/>
|
||||
<PackageVersion Include="GitHubActionsTestLogger" Version="2.4.1"/>
|
||||
<PackageVersion Include="Google.Protobuf" Version="3.30.2"/>
|
||||
<PackageVersion Include="Google.Protobuf" Version="3.31.0"/>
|
||||
<PackageVersion Include="Grpc.Net.Client" Version="2.71.0"/>
|
||||
<PackageVersion Include="Grpc.Tools" Version="2.72.0"/>
|
||||
<PackageVersion Include="Hangfire" Version="1.8.18"/>
|
||||
|
|
@ -108,11 +124,11 @@
|
|||
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1"/>
|
||||
<PackageVersion Include="System.Data.SqlClient" Version="4.9.0"/>
|
||||
<PackageVersion Include="System.Linq.Async" Version="6.0.1"/>
|
||||
<PackageVersion Include="System.Linq.Dynamic.Core" Version="1.6.2"/>
|
||||
<PackageVersion Include="System.Linq.Dynamic.Core" Version="1.6.4"/>
|
||||
<PackageVersion Include="System.Net.Http" Version="4.3.4"/>
|
||||
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1"/>
|
||||
<PackageVersion Include="System.Formats.Asn1" Version="9.0.4"/>
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.4"/>
|
||||
<PackageVersion Include="System.Formats.Asn1" Version="9.0.5"/>
|
||||
<PackageVersion Include="System.Text.Json" Version="9.0.5"/>
|
||||
<PackageVersion Include="Testcontainers" Version="4.4.0"/>
|
||||
<PackageVersion Include="Testcontainers.PostgreSql" Version="4.4.0"/>
|
||||
<PackageVersion Include="Testcontainers.RabbitMq" Version="4.4.0"/>
|
||||
|
|
@ -125,38 +141,38 @@
|
|||
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.0"/>
|
||||
<PackageVersion Include="Yarp.ReverseProxy" Version="2.3.0"/>
|
||||
<PackageVersion Include="AspNetCore.Authentication.ApiKey" Version="8.0.1"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite.Core" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Resilience" Version="9.0.4"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Authorization" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Data.Sqlite.Core" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Logging.Console" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Options" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="9.0.5"/>
|
||||
<PackageVersion Include="Microsoft.Extensions.Resilience" Version="9.0.5"/>
|
||||
<PackageVersion Include="MySql.Data" Version="9.3.0"/>
|
||||
<PackageVersion Include="Npgsql" Version="9.0.3"/>
|
||||
<PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4"/>
|
||||
|
|
|
|||
54
Elsa.sln
54
Elsa.sln
|
|
@ -81,7 +81,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Api.Client", "src\clie
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Elsa.Environments", "src\modules\Elsa.Environments\Elsa.Environments.csproj", "{B5CDF747-8066-40D5-9BAE-CBE397BC9B51}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "scripting", "scripting", "{6EF07978-A6D2-40EB-891D-7D70C5F37E76}"
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "expressions", "expressions", "{6EF07978-A6D2-40EB-891D-7D70C5F37E76}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "security", "security", "{5948B0A5-7873-4DBB-BA03-EB283D6EA91B}"
|
||||
EndProject
|
||||
|
|
@ -254,6 +254,22 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "caching", "caching", "{02EA
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Caching", "src\modules\Elsa.Caching\Elsa.Caching.csproj", "{6F14B066-DF7B-2409-59D8-CCCA90A4974C}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "http", "http", "{C55015F0-E9DF-4BF9-8131-D7539E938220}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Http", "src\modules\Elsa.Http\Elsa.Http.csproj", "{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.CSharp", "src\modules\Elsa.Expressions.CSharp\Elsa.Expressions.CSharp.csproj", "{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.Dsl", "src\modules\Elsa.Expressions.Dsl\Elsa.Expressions.Dsl.csproj", "{765392DE-8560-B464-62DD-6890720FF5D5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.JavaScript", "src\modules\Elsa.Expressions.JavaScript\Elsa.Expressions.JavaScript.csproj", "{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.JavaScript.Libraries", "src\modules\Elsa.Expressions.JavaScript.Libraries\Elsa.Expressions.JavaScript.Libraries.csproj", "{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.Liquid", "src\modules\Elsa.Expressions.Liquid\Elsa.Expressions.Liquid.csproj", "{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elsa.Expressions.Python", "src\modules\Elsa.Expressions.Python\Elsa.Expressions.Python.csproj", "{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
@ -426,6 +442,34 @@ Global
|
|||
{6F14B066-DF7B-2409-59D8-CCCA90A4974C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6F14B066-DF7B-2409-59D8-CCCA90A4974C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6F14B066-DF7B-2409-59D8-CCCA90A4974C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{765392DE-8560-B464-62DD-6890720FF5D5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{765392DE-8560-B464-62DD-6890720FF5D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{765392DE-8560-B464-62DD-6890720FF5D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{765392DE-8560-B464-62DD-6890720FF5D5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
@ -499,6 +543,14 @@ Global
|
|||
{E7137FB0-1988-4562-AD8D-D0D9D2EE85F6} = {CD7DC0D1-FFDC-417A-89BE-7F32408F583E}
|
||||
{02EA681E-C7D8-13C7-8484-4AC65E1B71E8} = {5BA4A8FA-F7F4-45B3-AEC8-8886D35AAC79}
|
||||
{6F14B066-DF7B-2409-59D8-CCCA90A4974C} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8}
|
||||
{C55015F0-E9DF-4BF9-8131-D7539E938220} = {5BA4A8FA-F7F4-45B3-AEC8-8886D35AAC79}
|
||||
{E0B22AB7-7CB5-6D17-562C-4A989DC61F8A} = {C55015F0-E9DF-4BF9-8131-D7539E938220}
|
||||
{16C3FBDE-A832-E3CD-5FBF-F51744D1F79B} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{765392DE-8560-B464-62DD-6890720FF5D5} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{099D5DCE-CCF7-16FE-6EDC-A64B694F50BE} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{08B69CC4-B5F0-44E8-FA7A-6BF6F00CA40A} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{6AF53651-99F0-1DE0-D37B-4FF6B0348DBB} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
{9D8FB664-88B4-10BE-58A2-D9A1644AD2E4} = {6EF07978-A6D2-40EB-891D-7D70C5F37E76}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {D4B5CEAA-7D70-4FCB-A68E-B03FBE5E0E5E}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Elsa.Scripting.CSharp.Contracts;
|
||||
using Elsa.Scripting.CSharp.Extensions;
|
||||
using Elsa.Scripting.CSharp.Models;
|
||||
using Elsa.Expressions.CSharp.Contracts;
|
||||
using Elsa.Expressions.CSharp.Extensions;
|
||||
using Elsa.Expressions.CSharp.Models;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Workflows;
|
||||
|
|
@ -10,7 +10,7 @@ using Elsa.Workflows.UIHints;
|
|||
using Elsa.Workflows.Models;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Elsa.Scripting.CSharp.Activities;
|
||||
namespace Elsa.Expressions.CSharp.Activities;
|
||||
|
||||
/// <summary>
|
||||
/// Executes C# code.
|
||||
|
|
@ -2,7 +2,7 @@ using System.Reflection;
|
|||
using Elsa.Workflows.UIHints.CodeEditor;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Elsa.Scripting.CSharp.Activities;
|
||||
namespace Elsa.Expressions.CSharp.Activities;
|
||||
|
||||
internal class RunCSharpOptionsProvider : CodeEditorOptionsProviderBase
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Expressions.Models;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Contexts;
|
||||
namespace Elsa.Expressions.CSharp.Contexts;
|
||||
|
||||
/// <summary>
|
||||
/// Context for configuring the <see cref="ScriptOptions"/>.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Expressions.Models;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Contexts;
|
||||
namespace Elsa.Expressions.CSharp.Contexts;
|
||||
|
||||
/// <summary>
|
||||
/// Context for configuring the <see cref="ScriptOptions"/>.
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using JetBrains.Annotations;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Contracts;
|
||||
namespace Elsa.Expressions.CSharp.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Evaluates C# expressions.
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using Elsa.Scripting.CSharp.Contracts;
|
||||
using Elsa.Expressions.CSharp.Contracts;
|
||||
using Elsa.Expressions.Contracts;
|
||||
using Elsa.Expressions.Helpers;
|
||||
using Elsa.Expressions.Models;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Expressions;
|
||||
namespace Elsa.Expressions.CSharp.Expressions;
|
||||
|
||||
/// <summary>
|
||||
/// Evaluates C# expressions.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Scripting.CSharp.Contracts;
|
||||
using Elsa.Expressions.CSharp.Contracts;
|
||||
using Elsa.Expressions.Models;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Extensions;
|
||||
namespace Elsa.Expressions.CSharp.Extensions;
|
||||
|
||||
/// <summary>
|
||||
/// Provides extension methods for <see cref="ICSharpEvaluator"/>.
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
using Elsa.Scripting.CSharp.Features;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Features;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Features.Services;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.Scripting.CSharp.Extensions;
|
||||
namespace Elsa.Expressions.CSharp.Extensions;
|
||||
|
||||
public static class VariableNameExtensions
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using Elsa.Caching.Features;
|
||||
using Elsa.Common.Features;
|
||||
using Elsa.Scripting.CSharp.Activities;
|
||||
using Elsa.Scripting.CSharp.Contracts;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Scripting.CSharp.Providers;
|
||||
using Elsa.Scripting.CSharp.Services;
|
||||
using Elsa.Expressions.CSharp.Activities;
|
||||
using Elsa.Expressions.CSharp.Contracts;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Providers;
|
||||
using Elsa.Expressions.CSharp.Services;
|
||||
using Elsa.Expressions.Features;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Features.Abstractions;
|
||||
|
|
@ -13,7 +13,7 @@ using Elsa.Features.Services;
|
|||
using Elsa.Workflows;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Features;
|
||||
namespace Elsa.Expressions.CSharp.Features;
|
||||
|
||||
/// <summary>
|
||||
/// Installs C# integration.
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Mediator.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Handlers;
|
||||
namespace Elsa.Expressions.CSharp.Handlers;
|
||||
|
||||
/// <summary>
|
||||
/// This handler adds assemblies and namespaces from the <see cref="CSharpOptions"/> to the <see cref="ScriptOptions"/>.
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Mediator.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Handlers;
|
||||
namespace Elsa.Expressions.CSharp.Handlers;
|
||||
|
||||
/// <summary>
|
||||
/// This handler configures the <see cref="ScriptOptions"/> and <see cref="Script"/> from the <see cref="CSharpOptions"/>.
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
using System.Text;
|
||||
using Elsa.Scripting.CSharp.Extensions;
|
||||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Extensions;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Mediator.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Handlers;
|
||||
namespace Elsa.Expressions.CSharp.Handlers;
|
||||
|
||||
/// <summary>
|
||||
/// Configures the C# evaluator with methods to access workflow variables.
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
using System.Text;
|
||||
using Elsa.Scripting.CSharp.Extensions;
|
||||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Extensions;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Mediator.Contracts;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Handlers;
|
||||
namespace Elsa.Expressions.CSharp.Handlers;
|
||||
|
||||
/// <summary>
|
||||
/// Configures the C# evaluator with methods to access workflow variables.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Text;
|
||||
using Elsa.Scripting.CSharp.Extensions;
|
||||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Extensions;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Mediator.Contracts;
|
||||
|
|
@ -9,7 +9,7 @@ using Humanizer;
|
|||
using JetBrains.Annotations;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Handlers;
|
||||
namespace Elsa.Expressions.CSharp.Handlers;
|
||||
|
||||
/// <summary>
|
||||
/// Configures the C# evaluator with methods to access workflow variables.
|
||||
|
|
@ -3,7 +3,7 @@ using Elsa.Expressions.Models;
|
|||
using Elsa.Extensions;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Models;
|
||||
namespace Elsa.Expressions.CSharp.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to the current execution context.
|
||||
|
|
@ -2,7 +2,7 @@ using Elsa.Expressions.Models;
|
|||
using Elsa.Extensions;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Models;
|
||||
namespace Elsa.Expressions.CSharp.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to global objects, such as the workflow execution context.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Expressions.Models;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Models;
|
||||
namespace Elsa.Expressions.CSharp.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to activity outcomes.
|
||||
|
|
@ -2,7 +2,7 @@ using Elsa.Expressions.Helpers;
|
|||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Models;
|
||||
namespace Elsa.Expressions.CSharp.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Provides access to activity outputs.
|
||||
|
|
@ -2,7 +2,7 @@ using Elsa.Expressions.Models;
|
|||
using Elsa.Mediator.Contracts;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Notifications;
|
||||
namespace Elsa.Expressions.CSharp.Notifications;
|
||||
|
||||
/// <summary>
|
||||
/// This notification is published every time a C# expression is about to be evaluated.
|
||||
|
|
@ -2,12 +2,12 @@ using System.Reflection;
|
|||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using System.Text.Json.Serialization;
|
||||
using Elsa.Scripting.CSharp.Contexts;
|
||||
using Elsa.Scripting.CSharp.Models;
|
||||
using Elsa.Expressions.CSharp.Contexts;
|
||||
using Elsa.Expressions.CSharp.Models;
|
||||
using Elsa.Expressions.Models;
|
||||
using Microsoft.CodeAnalysis.Scripting;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Options;
|
||||
namespace Elsa.Expressions.CSharp.Options;
|
||||
|
||||
/// <summary>
|
||||
/// Options for the C# expression evaluator.
|
||||
|
|
@ -29,7 +29,7 @@ public class CSharpOptions
|
|||
/// </summary>
|
||||
public ISet<Assembly> Assemblies { get; } = new HashSet<Assembly>(new[]
|
||||
{
|
||||
typeof(Globals).Assembly, // Elsa.Scripting.CSharp
|
||||
typeof(Globals).Assembly, // Elsa.Expressions.CSharp
|
||||
typeof(Enumerable).Assembly, // System.Linq
|
||||
typeof(Guid).Assembly, // System.Runtime
|
||||
typeof(JsonSerializer).Assembly, // System.Text.Json
|
||||
|
|
@ -41,7 +41,7 @@ public class CSharpOptions
|
|||
/// </summary>
|
||||
public ISet<string> Namespaces { get; } = new HashSet<string>(new[]
|
||||
{
|
||||
typeof(Globals).Namespace!, // Elsa.Scripting.CSharp
|
||||
typeof(Globals).Namespace!, // Elsa.Expressions.CSharp
|
||||
typeof(Enumerable).Namespace!, // System.Linq
|
||||
typeof(Guid).Namespace!, // System
|
||||
typeof(JsonSerializer).Namespace!, // System.Text.Json
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using Elsa.Scripting.CSharp.Expressions;
|
||||
using Elsa.Expressions.CSharp.Expressions;
|
||||
using Elsa.Expressions.Contracts;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Providers;
|
||||
namespace Elsa.Expressions.CSharp.Providers;
|
||||
|
||||
internal class CSharpExpressionDescriptorProvider : IExpressionDescriptorProvider
|
||||
{
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using Elsa.Scripting.CSharp.Contracts;
|
||||
using Elsa.Scripting.CSharp.Models;
|
||||
using Elsa.Scripting.CSharp.Notifications;
|
||||
using Elsa.Scripting.CSharp.Options;
|
||||
using Elsa.Expressions.CSharp.Contracts;
|
||||
using Elsa.Expressions.CSharp.Models;
|
||||
using Elsa.Expressions.CSharp.Notifications;
|
||||
using Elsa.Expressions.CSharp.Options;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Mediator.Contracts;
|
||||
using Microsoft.CodeAnalysis;
|
||||
|
|
@ -12,7 +12,7 @@ using Microsoft.CodeAnalysis.Scripting;
|
|||
using Microsoft.Extensions.Caching.Memory;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace Elsa.Scripting.CSharp.Services;
|
||||
namespace Elsa.Expressions.CSharp.Services;
|
||||
|
||||
/// <summary>
|
||||
/// A C# expression evaluator using Roslyn.
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Scripting.Dsl/Dsl\ElsaLexer.g4 by ANTLR 4.10.1
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Expressions.Dsl/Dsl\ElsaLexer.g4 by ANTLR 4.10.1
|
||||
|
||||
// Unreachable code detected
|
||||
#pragma warning disable 0162
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Scripting.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Expressions.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
|
||||
// Unreachable code detected
|
||||
#pragma warning disable 0162
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Scripting.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Expressions.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
|
||||
// Unreachable code detected
|
||||
#pragma warning disable 0162
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Scripting.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
// Generated from C:/Projects/Elsa/v3/src/dsl/Elsa.Expressions.Dsl/Dsl\ElsaParser.g4 by ANTLR 4.10.1
|
||||
|
||||
// Unreachable code detected
|
||||
#pragma warning disable 0162
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows.Activities;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Contracts;
|
||||
namespace Elsa.Expressions.Dsl.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a DSL engine that parse a workflow definition script into a <see cref="Workflow"/> instance.
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Scripting.Dsl.Models;
|
||||
using Elsa.Expressions.Dsl.Models;
|
||||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Contracts;
|
||||
namespace Elsa.Expressions.Dsl.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Provides a registry for mapping functions to activities that can be invoked from a DSL script.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Contracts;
|
||||
namespace Elsa.Expressions.Dsl.Contracts;
|
||||
|
||||
public interface ITypeSystem
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using Elsa.Scripting.Dsl.Features;
|
||||
using Elsa.Expressions.Dsl.Features;
|
||||
using Elsa.Features.Services;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Extensions;
|
||||
namespace Elsa.Expressions.Dsl.Extensions;
|
||||
|
||||
public static class TypeSystemExtensions
|
||||
{
|
||||
|
|
@ -1,12 +1,12 @@
|
|||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Scripting.Dsl.Services;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Services;
|
||||
using Elsa.Expressions.Features;
|
||||
using Elsa.Features.Abstractions;
|
||||
using Elsa.Features.Attributes;
|
||||
using Elsa.Features.Services;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Features;
|
||||
namespace Elsa.Expressions.Dsl.Features;
|
||||
|
||||
/// <inheritdoc />
|
||||
[DependsOn(typeof(ExpressionsFeature))]
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Antlr4.Runtime.Tree;
|
||||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Activities;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Expressions.Helpers;
|
||||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Expressions.Models;
|
||||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Activities;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
/// <inheritdoc />
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Scripting.Dsl.Models;
|
||||
using Elsa.Expressions.Dsl.Models;
|
||||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -4,7 +4,7 @@ using Elsa.Expressions.Models;
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Memory;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using Antlr4.Runtime.Tree;
|
||||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Scripting.Dsl.Models;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Models;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Activities;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Interpreters;
|
||||
namespace Elsa.Expressions.Dsl.Interpreters;
|
||||
|
||||
public partial class WorkflowDefinitionBuilderInterpreter : ElsaParserBaseVisitor<IWorkflowBuilder>
|
||||
{
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.Scripting.Dsl.Models;
|
||||
namespace Elsa.Expressions.Dsl.Models;
|
||||
|
||||
public class DefinedVariable
|
||||
{
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
using Elsa.Workflows;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Models;
|
||||
namespace Elsa.Expressions.Dsl.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Describes a function that is mapped to an activity that can be invoked from a DSL script.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.Scripting.Dsl.Models;
|
||||
namespace Elsa.Expressions.Dsl.Models;
|
||||
|
||||
public class WorkflowDefinitionInterpreterSettings
|
||||
{
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using Antlr4.Runtime;
|
||||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Scripting.Dsl.Interpreters;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Interpreters;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Activities;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Services;
|
||||
namespace Elsa.Expressions.Dsl.Services;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class DslEngine : IDslEngine
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
using System.Text.Json;
|
||||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Scripting.Dsl.Interpreters;
|
||||
using Elsa.Scripting.Dsl.Models;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Interpreters;
|
||||
using Elsa.Expressions.Dsl.Models;
|
||||
using Elsa.Expressions.Helpers;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Services;
|
||||
namespace Elsa.Expressions.Dsl.Services;
|
||||
|
||||
/// <inheritdoc />
|
||||
public class FunctionActivityRegistry : IFunctionActivityRegistry
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Scripting.Dsl.Contracts;
|
||||
using Elsa.Expressions.Dsl.Contracts;
|
||||
using Elsa.Workflows.Models;
|
||||
|
||||
namespace Elsa.Scripting.Dsl.Services;
|
||||
namespace Elsa.Expressions.Dsl.Services;
|
||||
|
||||
public class TypeSystem : ITypeSystem
|
||||
{
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\common\Elsa.Features\Elsa.Features.csproj" />
|
||||
<ProjectReference Include="..\Elsa.Scripting.JavaScript\Elsa.Scripting.JavaScript.csproj" />
|
||||
<ProjectReference Include="..\Elsa.Expressions.JavaScript\Elsa.Expressions.JavaScript.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using Elsa.Extensions;
|
||||
using Elsa.Scripting.JavaScript.Features;
|
||||
using Elsa.Expressions.JavaScript.Features;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Libraries.Extensions;
|
||||
namespace Elsa.Expressions.JavaScript.Libraries.Extensions;
|
||||
|
||||
public static class JavaScriptFeatureExtensions
|
||||
{
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
using Elsa.Features.Services;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Libraries;
|
||||
namespace Elsa.Expressions.JavaScript.Libraries;
|
||||
|
||||
public class LodashFeature(IModule module) : ScriptModuleFeatureBase("lodash", module);
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
using Elsa.Features.Services;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Libraries;
|
||||
namespace Elsa.Expressions.JavaScript.Libraries;
|
||||
|
||||
public class LodashFpFeature(IModule module) : ScriptModuleFeatureBase("lodashFp", module);
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
using Elsa.Features.Services;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Libraries;
|
||||
namespace Elsa.Expressions.JavaScript.Libraries;
|
||||
|
||||
public class MomentFeature(IModule module) : ScriptModuleFeatureBase("moment", module);
|
||||
|
|
@ -3,9 +3,9 @@ using Elsa.Extensions;
|
|||
using Elsa.Features.Abstractions;
|
||||
using Elsa.Features.Attributes;
|
||||
using Elsa.Features.Services;
|
||||
using Elsa.Scripting.JavaScript.Features;
|
||||
using Elsa.Expressions.JavaScript.Features;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Libraries;
|
||||
namespace Elsa.Expressions.JavaScript.Libraries;
|
||||
|
||||
[DependsOn(typeof(JavaScriptFeature))]
|
||||
public abstract class ScriptModuleFeatureBase(string moduleName, IModule module) : FeatureBase(module)
|
||||
|
|
@ -16,7 +16,7 @@ public abstract class ScriptModuleFeatureBase(string moduleName, IModule module)
|
|||
{
|
||||
jintOptions.ConfigureEngine((engine, context) =>
|
||||
{
|
||||
var resourceName = $"Elsa.Scripting.JavaScript.Libraries.ClientLib.dist.{moduleName}.js";
|
||||
var resourceName = $"Elsa.Expressions.JavaScript.Libraries.ClientLib.dist.{moduleName}.js";
|
||||
using var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resourceName)!;
|
||||
using var reader = new StreamReader(stream);
|
||||
var script = reader.ReadToEnd();
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
using System.Runtime.CompilerServices;
|
||||
using Elsa.Expressions.Models;
|
||||
using Elsa.Extensions;
|
||||
using Elsa.Scripting.JavaScript.Contracts;
|
||||
using Elsa.Expressions.JavaScript.Contracts;
|
||||
using Elsa.Workflows;
|
||||
using Elsa.Workflows.Attributes;
|
||||
using Elsa.Workflows.Models;
|
||||
|
|
@ -9,7 +9,7 @@ using Elsa.Workflows.UIHints;
|
|||
using Jint;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Elsa.Scripting.JavaScript.Activities;
|
||||
namespace Elsa.Expressions.JavaScript.Activities;
|
||||
|
||||
/// <summary>
|
||||
/// Executes JavaScript code.
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
using Elsa.Scripting.JavaScript.TypeDefinitions.Abstractions;
|
||||
using Elsa.Scripting.JavaScript.TypeDefinitions.Models;
|
||||
using Elsa.Expressions.JavaScript.TypeDefinitions.Abstractions;
|
||||
using Elsa.Expressions.JavaScript.TypeDefinitions.Models;
|
||||
using Elsa.Workflows.Helpers;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Elsa.Scripting.JavaScript.Activities;
|
||||
namespace Elsa.Expressions.JavaScript.Activities;
|
||||
|
||||
/// <summary>
|
||||
/// Produces <see cref="FunctionDefinition"/>s for common functions.
|
||||
|
|
@ -2,7 +2,7 @@ using System.Reflection;
|
|||
using Elsa.Workflows.UIHints.CodeEditor;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Elsa.Scripting.JavaScript.Activities;
|
||||
namespace Elsa.Expressions.JavaScript.Activities;
|
||||
|
||||
internal class RunJavaScriptOptionsProvider : CodeEditorOptionsProviderBase
|
||||
{
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
using JetBrains.Annotations;
|
||||
using Jint;
|
||||
|
||||
namespace Elsa.Scripting.JavaScript.Contracts;
|
||||
namespace Elsa.Expressions.JavaScript.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Evaluates JavaScript expressions.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
namespace Elsa.Scripting.JavaScript.Contracts;
|
||||
namespace Elsa.Expressions.JavaScript.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// A central registry of type aliases.
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue