Nexus.Sources.Transform
2.0.0-beta.33
dotnet add package Nexus.Sources.Transform --version 2.0.0-beta.33
NuGet\Install-Package Nexus.Sources.Transform -Version 2.0.0-beta.33
<PackageReference Include="Nexus.Sources.Transform" Version="2.0.0-beta.33" />
paket add Nexus.Sources.Transform --version 2.0.0-beta.33
#r "nuget: Nexus.Sources.Transform, 2.0.0-beta.33"
// Install Nexus.Sources.Transform as a Cake Addin #addin nuget:?package=Nexus.Sources.Transform&version=2.0.0-beta.33&prerelease // Install Nexus.Sources.Transform as a Cake Tool #tool nuget:?package=Nexus.Sources.Transform&version=2.0.0-beta.33&prerelease
Nexus.Sources.Transform
It is often necessary to shorten resource names, extract units from resource names, set resource group memberships, or perform other transformations on the original resource catalog. This package provides these (and more) features and removes the need for individual Nexus extensions to implement them themselves.
The idea is to place this source at the end in the Nexus pipeline.
As an extension developer you might wonder where to provide things like units to the resources as there are at least three different places. Here is a recommendation:
- When the unit is part of the raw data file, read it from there and put it into the resource via
var resource = new ResourceBuilder(id: <resourceId>)
.WithUnit(<unit>)
...
.Build();
If the unit is derived from the original resource name, as is often the case in CSV files where column names are often in a format like
temp_1 (°C)
, then use this data source and put it at the end of the data source pipeline in Nexus. Of course, you could go back to 1. but this will make your data source tightly coupled to the input data format.If there is no unit information in the raw data, but you know it from elsewhere (documentation, etc), edit the metadata in the Nexus UI or use the REST API instead. The metadata is like an overlay for an existing catalog and its resources and properties. This metadata is persistently stored by Nexus.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Nexus.Extensibility (>= 2.0.0-beta.33)
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 |
---|---|---|
2.0.0-beta.33 | 41 | 12/17/2024 |