Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation 1.0.2

Prefix Reserved
dotnet add package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation --version 1.0.2
                    
NuGet\Install-Package Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation -Version 1.0.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="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation" />
                    
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 Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation --version 1.0.2
                    
#r "nuget: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation, 1.0.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 Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation@1.0.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=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation&version=1.0.2
                    
Install as a Cake Tool

Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation

Project Type: NuGet Project

Size: XS

Summary

Provides the EngineExtensions.GetCostAndBillingHelper extension method for the DataMiner Automation IEngine interface, giving automation scripts a one-line way to obtain an ICostAndBillingHelper and interact with the Cost & Billing repositories (rate cards, contracts, billable items, and more).

Getting Started

Prerequisites: A running DataMiner 10.6.4+ system with the SDM Registration package installed. The Cost & Billing Solution itself is installed together with this library, so there is no separate installation step for it.

Use the GetCostAndBillingHelper extension method on the IEngine instance available in your automation script to get an ICostAndBillingHelper and interact with the Cost & Billing repositories.

Read all cost rate cards:

ICostAndBillingHelper helper = engine.GetCostAndBillingHelper();

List<CostRatecard> ratecards = helper.CostRatecard.Read().ToList();

Read a single contract by identifier:

Contract contract = helper.Contract.Read(Guid.Parse("contract-id"));

Create a new billable event:

var billableEvent = new BillableEvent
{
    Name = "My Billable Event",
};

helper.BillableEvent.Create(billableEvent);

For more details, refer to the full documentation.

Assembly

Assembly Name: Skyline.DataMiner.Dev.Utils.Solutions.CostAndBilling.Automation

Public API

  • EngineExtensions.GetCostAndBillingHelper(this IEngine) — creates an ICostAndBillingHelper for the engine's underlying connection.

For unit testing, mock the public ICostAndBillingHelper interface directly (e.g. with Moq).

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 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
1.0.2 156 9/2/2026
1.0.1 124 9/1/2026
1.0.1-prerelease5 98 8/31/2026