YamatoDaiwa.PugCSharpStaticPreview
0.3.2
dotnet add package YamatoDaiwa.PugCSharpStaticPreview --version 0.3.2
NuGet\Install-Package YamatoDaiwa.PugCSharpStaticPreview -Version 0.3.2
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="YamatoDaiwa.PugCSharpStaticPreview" Version="0.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YamatoDaiwa.PugCSharpStaticPreview" Version="0.3.2" />
<PackageReference Include="YamatoDaiwa.PugCSharpStaticPreview" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add YamatoDaiwa.PugCSharpStaticPreview --version 0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: YamatoDaiwa.PugCSharpStaticPreview, 0.3.2"
#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.
#:package YamatoDaiwa.PugCSharpStaticPreview@0.3.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=YamatoDaiwa.PugCSharpStaticPreview&version=0.3.2
#tool nuget:?package=YamatoDaiwa.PugCSharpStaticPreview&version=0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
The npm package and related nuget package for the creating of the Pug static preview in C# hybrid and web applications. More exactly, this stack provides the solution for the following tasks:
- Generating of the entities (enterprise business rules) objects based on C# classes which could be injected to Pug
- Generating of the string resources based on C# classes which could be injected to Pug
- Generating of the mock data based on C# classes which could be injected to Pug
The Yamato Daiwa Automation project building tool will also required to complete this tasks.
Installation
npm package
npm i @yamato-daiwa/pug-csharp-static-preview -D -E
nuget package
npm i dotnet add package YamatoDaiwa.PugCSharpStaticPreview --version 0.3.1
Functionality
C#
AssetsProviderForStaticPreview Class
classDiagram
class AssetsProviderForStaticPreview {
<<abstract>>
# staticPreviewAbsolutePath : string
# businessRulesOutputFileNameWithExtension : string
# dataOutputFileNameWithExtension : string
# stringResourcesOutputFileNameWithExtension : string
# GenerateBusinessRules()* JsonObject
# GenerateData()* object
# GenerateStringResources()* JsonObject
# GenerateAccess() void
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- YamatoDaiwa.CSharpExtensions (>= 0.8.0)
-
net9.0
- YamatoDaiwa.CSharpExtensions (>= 0.8.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.