Fdw.CodeBuilder.CSharp
1.5.4
See the version list below for details.
dotnet add package Fdw.CodeBuilder.CSharp --version 1.5.4
NuGet\Install-Package Fdw.CodeBuilder.CSharp -Version 1.5.4
<PackageReference Include="Fdw.CodeBuilder.CSharp" Version="1.5.4" />
<PackageVersion Include="Fdw.CodeBuilder.CSharp" Version="1.5.4" />
<PackageReference Include="Fdw.CodeBuilder.CSharp" />
paket add Fdw.CodeBuilder.CSharp --version 1.5.4
#r "nuget: Fdw.CodeBuilder.CSharp, 1.5.4"
#:package Fdw.CodeBuilder.CSharp@1.5.4
#addin nuget:?package=Fdw.CodeBuilder.CSharp&version=1.5.4
#tool nuget:?package=Fdw.CodeBuilder.CSharp&version=1.5.4
Fdw.CodeBuilder.CSharp
A C# code builder — emits syntax rather than concatenating strings.
A TypeCollection and its options — an extensible enum. Members are discovered at compile time and reachable by ByName / ById / All; a lookup that finds nothing returns a NotFound sentinel rather than null, so a caller never has to null-check a lookup.
A module initializer collects every [TypeOption] in every referenced assembly and dedupes them into the collection at load. Adding a member is a package reference plus a declaration — the collection itself is never edited.
Collections
| Type | Kind | Purpose |
|---|---|---|
CodeBuilderCSharpResultCodes |
class | TypeCollection for CodeBuilder CSharp result codes. Codes use categorized numbers (Id == EventId ==… |
Options (5 declared)
| Type | Kind | Purpose |
|---|---|---|
ParseCancelledCode |
class | Parse operation was cancelled. |
ParseFailedCode |
class | Parse operation failed with exception. |
SourceCodeRequiredCode |
class | Source code was null or empty. |
SyntaxErrorsCode |
class | Source code contains syntax errors. |
ValidationFailedCode |
class | Validation failed. |
Installation
dotnet add package Fdw.CodeBuilder.CSharp --prerelease
Dependencies
Fdw.CodeBuilder.Abstractions · Fdw.Collections · Fdw.Results
Build-time only (generators and analyzers, not runtime dependencies): Fdw.Collections.SourceGenerators
Part of FractalDataWorks 1.0.0-rc.1. Licensed under Apache-2.0.
| Product | Versions 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. 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. |
| .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. |
-
.NETStandard 2.0
- Fdw.CodeBuilder.Abstractions (>= 1.5.4)
- Fdw.Collections (>= 1.5.4)
- Fdw.Results (>= 1.5.4)
- Microsoft.Bcl.AsyncInterfaces (>= 10.0.10)
- Microsoft.Bcl.HashCode (>= 6.0.0)
- Microsoft.CodeAnalysis.Analyzers (>= 5.3.0)
- Microsoft.CodeAnalysis.CSharp (>= 5.3.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.10)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options (>= 10.0.10)
- System.Collections.Immutable (>= 10.0.10)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Diagnostics.DiagnosticSource (>= 10.0.10)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Fdw.CodeBuilder.CSharp:
| Package | Downloads |
|---|---|
|
Fdw.SourceGenerators
Development tools and utilities for the Fdw ecosystem. |
|
|
Fdw.UI.Components.RazorConsole.SourceGenerators
Development tools and utilities for the Fdw ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.6 | 0 | 11/12/2026 |
| 1.5.5 | 84 | 11/10/2026 |
| 1.5.4 | 87 | 11/10/2026 |
| 1.5.3 | 87 | 11/10/2026 |
| 1.5.2 | 109 | 11/9/2026 |
| 1.5.1 | 123 | 11/9/2026 |
| 1.5.1-rc.7 | 51 | 11/9/2026 |
| 1.5.1-rc.6 | 58 | 11/9/2026 |
| 1.5.1-rc.5 | 56 | 11/9/2026 |
| 1.5.1-rc.4 | 54 | 11/8/2026 |
| 1.5.1-rc.3 | 62 | 11/7/2026 |
| 1.5.1-rc.2 | 60 | 11/6/2026 |
| 1.5.1-rc.1 | 64 | 11/5/2026 |
| 1.5.0 | 150 | 11/5/2026 |
| 1.4.5 | 308 | 11/2/2026 |
| 1.4.5-rc.1 | 83 | 11/1/2026 |
| 1.4.4 | 244 | 10/30/2026 |
| 1.4.4-rc.1 | 79 | 10/30/2026 |
| 1.4.3 | 244 | 10/28/2026 |
| 1.4.3-rc.1 | 88 | 10/28/2026 |