MVScript 2.0.0
dotnet add package MVScript --version 2.0.0
NuGet\Install-Package MVScript -Version 2.0.0
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="MVScript" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MVScript --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MVScript, 2.0.0"
#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 MVScript as a Cake Addin #addin nuget:?package=MVScript&version=2.0.0 // Install MVScript as a Cake Tool #tool nuget:?package=MVScript&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MVScript
is a library designed for creating, managing, and interacting with structured information in readable and maintainable script formats. This library utilizes a hierarchical structure to represent information, consisting of roads, blocks, and key-value pairs.
Features
- Text Reading and Parsing: Capability to read a text and parse it to create roads, blocks, and relevant information.
- Accessing Information Using Indexers: Access roads and blocks using indexers.
- Structured Data Storage: Information is stored in a structured tree-like format using the Road, Block, and Value classes.
- String Conversion: Ability to convert information to a string while maintaining the original structure.
Key Components
- Road: Represents a path in the structured information. Each road contains blocks and additional information.
- Block: Exists within a road and holds key-value pairs. Each block may contain nested blocks and simple information.
- Key-Value Pair: Each block contains pairs of information represented in key-value format.
Example Script
BEGIN ROAD road1
BEGIN BLOCK block1
name: Soheil MV
date: 2023
isDev: true
END BLOCK
BEGIN BLOCK block2
myList: [Soheil MV, 2023, true]
END BLOCK
BEGIN BLOCK block3
myDictionary: {name:Soheil MV; date:2023; isDev:true}
END BLOCK
END ROAD
BEGIN ROAD road2
BEGIN BLOCK block1
myList: [{name:Soheil MV; date:2023; IsDev:true}, 200, true]
END BLOCK
END ROAD
BEGIN ROAD road3
BEGIN BLOCK block1
myDictionary: {myList:[Soheil MV, 2023, true]; StatusCode:200; IsOk:true}
END BLOCK
END ROAD
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.