Ccf.Ck.Libs.ActionQuery 1.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Ccf.Ck.Libs.ActionQuery --version 1.1.1                
NuGet\Install-Package Ccf.Ck.Libs.ActionQuery -Version 1.1.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ccf.Ck.Libs.ActionQuery" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ccf.Ck.Libs.ActionQuery --version 1.1.1                
#r "nuget: Ccf.Ck.Libs.ActionQuery, 1.1.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ccf.Ck.Libs.ActionQuery as a Cake Addin
#addin nuget:?package=Ccf.Ck.Libs.ActionQuery&version=1.1.1

// Install Ccf.Ck.Libs.ActionQuery as a Cake Tool
#tool nuget:?package=Ccf.Ck.Libs.ActionQuery&version=1.1.1                

ActionQuery

A little library for running simple scripts that command host objects in your code. The methods of the host object and other methods are called as instructions of the script program enabling one to create scripts that use them in certain pattern, feeding them with parameters and obtaining result(s).

Purpose

Similar to ResolverExpression this library enables usage of simple scripts in configurations or from some other input that command host objects in the main code.

The need of such a miniature language arises when the programmer wants to create in C# a programmable "service" and do that programming without the need to recompile any code or even at run-time. Recompiling or dynamic compilation is a valid way to go, but it brings with it a lot of complexity and cannot be justified except in very small number of cases. As an alternative a simple to host mini language can do the job and command huge number of tasks defined in configurations or even received in network requests. All the functionality available for a script comes from the host which makes possible to secure the environment easily and in an easy to understand way that depends only on the host class - just do not make available to the script anything that can compromise the security.

Documentation

Will be here soon.

Example

There is an example project in Example/acexample that is using the ActionQuery from console application that allows you to enter mini programs and execute them (with tracing).

Please note that spaces and new lines are just ignored and unlike in the example the programs can be written in more relaxed fashion if they are loaded from a file or other source where they can be edited more conveniently.

Go to example's readme for details about the example.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Ccf.Ck.Libs.ActionQuery:

Package Downloads
Ccf.Ck.SysPlugins.Utilities

This package provides System Plugin with all data utilities in CoreKraft.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.2 3,133 9/7/2023
1.2.0 22,902 1/17/2022
1.1.2 606 1/10/2022
1.1.1 430 1/7/2022
1.1.0 414 1/7/2022
1.0.3 9,499 4/19/2021

Simple library enabling simple scripts to command host objects in your code. The scripts are simple programs calling your methods as if they are instructions.
     - Version 1.0.3: First public version (bugfixing)
     - Version 1.0.4: Correction of the nuget description (no code has been changed)
   - Version 1.1.0: Added support for comments and dedicated variable access syntax.