Irihi.Dogma
0.2.2
Prefix Reserved
dotnet add package Irihi.Dogma --version 0.2.2
NuGet\Install-Package Irihi.Dogma -Version 0.2.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="Irihi.Dogma" Version="0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Irihi.Dogma" Version="0.2.2" />
<PackageReference Include="Irihi.Dogma" />
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 Irihi.Dogma --version 0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Irihi.Dogma, 0.2.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 Irihi.Dogma@0.2.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=Irihi.Dogma&version=0.2.2
#tool nuget:?package=Irihi.Dogma&version=0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Irihi.Dogma
A set of Avalonia UI controls designed for documentation and demo scenarios.
⚠️ Support & Scope
This repository exists to serve IRIHI's own product demos — it is not a general-purpose, publicly supported library. Before using it, please understand that:
- No support — external support requests, issues, and feature suggestions are not processed.
- No compatibility guarantees — APIs may change or break at any time, without notice or semantic-versioning discipline.
- Demo-first — code targets our internal demo scenarios; use cases outside those scenarios are out of scope.
Use at your own risk.
Features
- CodeBlock — syntax-highlighted, selectable, copyable code display control with zero external dependencies
- Supports AXAML and C# syntax highlighting
- Built-in light/dark theme support
- Line numbers and copy button
- DocSite — documentation site scaffolding with
DocPageandDocCategoryattributes, plus a source-generator that wires them up automatically
Installation
dotnet add package Irihi.Dogma
Usage
CodeBlock
<dogma:CodeBlock Language="CSharp"
Code="{Binding MySourceCode}"
ShowLineNumbers="True"
ShowCopyButton="True" />
DocSite
Annotate your demo view-models with [DocPage] / [DocCategory] attributes. The included source generator automatically registers them into IDocRegistry at compile time.
[DocPage("My Page", Category = "Getting Started")]
public partial class MyPageViewModel : IViewModelProvider { ... }
Building
dotnet build Irihi.Dogma.slnx
dotnet test Irihi.Dogma.slnx
License
MIT © Irihi Technology
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. 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 was computed. 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.
-
net8.0
- Avalonia (>= 12.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.