Tequra.ResultsProcessing.AdapterTemplate
6.0.4
See the version list below for details.
dotnet new install Tequra.ResultsProcessing.AdapterTemplate::6.0.4
Tequra.ResultsProcessing.AdapterTemplate
This package contains a solution template for a Tequra Results Processing Adapter.
Installing this template allows a new solution to be easily created using the .NET Core dotnet new
command. The generated solution contains the following:
- A class library (.NET Standard 2.0) where the adapter and configuration classes are defined.
- A console application (.NET 6) which runs the adapter as a standalone process.
- A test project (xUnit) which allows test cases to be defined for testing the functionality of the adapter.
Installation
To install the template run the following command:
dotnet new -i Tequra.ResultsProcessing.AdapterTemplate
This adds "Tequra Results Processing Adapter" (shortname: teqadapt) to the list of installed templates. Note: This command can also be executed to update the existing installed template to the latest version.
To uninstall the template run the following command:
dotnet new -u Tequra.ResultsProcessing.AdapterTemplate
Usage
Enter the following command to create a new solution from the template.
dotnet new teqadapt -o {TARGET_FOLDER}
Recommended naming convention for {TARGET_FOLDER}
is: CompanyName.ResultsProcessing.Adapters.AdapterType
(e.g. Acme.ResultsProcessing.Adapters.Xcf
)
Once the solution has been created, open using Visual Studio or Visual Studio Code.
Complete the following steps to implement a custom adapter:
- Run the unit tests in the .Test project to check that all the Tequra dependencies have loaded correctly. This uses a dummy adapter and example files, which will be replaced in subsequent steps.
- Delete the files in the "Example Files" directory in the test project and replace with example files that you want to generate an adapter for.
- Change the name of the
MyAdapter
class in the class library project to something more descriptive. - Change the name of the
MyAdapterConfiguration
class in the class library project to something more descriptive. - Edit the above two classes to implement your adapter, following the comments generated by the template.
- Update the unit tests (and add more if necessary) to fully test the functionality of your adapter against different files.
Note: the .App project should not be modified as this is intended to build a console application utilised by the Tequra Analytics Import Service.
This package has no dependencies.
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 |
---|---|---|
7.0.2 | 2,798 | 12/12/2023 |
7.0.1 | 669 | 4/5/2023 |
7.0.0 | 423 | 1/26/2023 |
6.0.14 | 370 | 1/10/2023 |
6.0.13 | 520 | 10/26/2022 |
6.0.12 | 416 | 10/21/2022 |
6.0.10 | 424 | 10/20/2022 |
6.0.9 | 441 | 10/20/2022 |
6.0.5 | 509 | 8/21/2022 |
6.0.4 | 529 | 7/12/2022 |
6.0.3 | 423 | 7/11/2022 |
6.0.2.1 | 456 | 7/11/2022 |
6.0.2 | 491 | 5/23/2022 |
6.0.1 | 417 | 5/23/2022 |
6.0.0 | 447 | 5/19/2022 |
5.0.10 | 499 | 4/19/2022 |
5.0.6 | 503 | 4/15/2022 |
5.0.5 | 482 | 4/14/2022 |
5.0.2 | 466 | 4/13/2022 |
4.0.0 | 480 | 4/1/2022 |
3.0.2 | 378 | 12/30/2021 |
3.0.1 | 356 | 12/6/2021 |
2.3.1 | 341 | 11/19/2021 |
2.3.0 | 317 | 11/19/2021 |
2.2.0 | 998 | 8/12/2021 |
2.1.1 | 1,242 | 7/7/2021 |
2.1.0 | 516 | 7/1/2021 |
2.0.5 | 802 | 6/7/2021 |
2.0.4 | 391 | 6/4/2021 |
2.0.3 | 401 | 5/19/2021 |
2.0.2 | 382 | 5/14/2021 |
2.0.1 | 426 | 4/6/2021 |
1.2.4 | 404 | 4/1/2021 |
1.2.3 | 317 | 3/30/2021 |
1.2.2 | 346 | 3/30/2021 |
1.2.1 | 347 | 3/30/2021 |
1.2.0 | 426 | 2/9/2021 |
1.1.6 | 409 | 12/1/2020 |
1.1.3 | 423 | 11/12/2020 |
1.1.2 | 463 | 10/19/2020 |
1.1.1 | 456 | 6/9/2020 |
1.1.0 | 546 | 11/26/2019 |
0.7.0 | 693 | 7/3/2019 |
0.6.0 | 622 | 6/4/2019 |
0.2.0 | 704 | 3/16/2019 |
0.1.0 | 748 | 2/5/2019 |