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" />
                    
Directory.Packages.props
<PackageReference Include="Irihi.Dogma" />
                    
Project file
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
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Irihi.Dogma&version=0.2.2
                    
Install as a Cake Tool

Irihi.Dogma

NuGet License: MIT

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 DocPage and DocCategory attributes, 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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.2 71 8/25/2026
0.2.1 71 8/25/2026
0.2.0 118 8/17/2026
0.1.0 106 8/11/2026