Brainix.Common.Dataload 1.0.0-beta-818

.NET 5.0
This is a prerelease version of Brainix.Common.Dataload.
Install-Package Brainix.Common.Dataload -Version 1.0.0-beta-818
dotnet add package Brainix.Common.Dataload --version 1.0.0-beta-818
<PackageReference Include="Brainix.Common.Dataload" Version="1.0.0-beta-818" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Brainix.Common.Dataload --version 1.0.0-beta-818
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Brainix.Common.Dataload, 1.0.0-beta-818"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Brainix.Common.Dataload as a Cake Addin
#addin nuget:?package=Brainix.Common.Dataload&version=1.0.0-beta-818&prerelease

// Install Brainix.Common.Dataload as a Cake Tool
#tool nuget:?package=Brainix.Common.Dataload&version=1.0.0-beta-818&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Brainix.Common.Dataload

Description

This package enables a very easy and convient Dataload process. For this it a Dataload class was written, which contains all important methods to add and work with Exercises, Tasks and Collections.

Initialization

The constructor of the Dataload class taskes two arguments:

  • collectionServiceUrl (Url of the Collection Service)
  • exerciseServiceUrl (Url of the Exercise Service)

Methods

AddExercise

The Add Exercise method not only adds an Exercise to the Collection Service it also uploads the Exercise Data to the Exercise Service and publishes the CorrectAnswers to the Feedback Service. It takes 6 parameters:

  • exerciseId (The Id of the Exercise)
  • exerciseDetails (The data of the Exercise)
  • exerciseCorrectAnswer (The correct answers for the exercise)
  • taskId (The TaskId which the Exercise gets added to)
  • orderNumber (The order number of the Exercise inside of the Task)
  • merkeExerciseId (The optional ExerciseId of the corresponding MerkeExercise)

AddTask

The AddTask methods adds a Task inside of the CollectionService. It takes 5 parameters:

  • taskId (The Id of the Task)
  • type (The Type of the Task)
  • competenceLevel (The competence level of the Task)
  • estimatedTime (The estimated time of the Task)
  • backgroundImagePath (The Path to the image which should be shown in the background)

AddCollection

The AddCollection methods adds a Collection inside of the CollectionService. It takes 5 parameters:

  • collectionId (The Id of the Collection)
  • type (The Type of the Collection)
  • fixedOrder (Wheater the Collection should be in a fixed order or not)
  • ownerId (The OwnerId(UserId) which owns the Collection)
  • lessonId (The LessonId to which the Collection belongs)

AddCollectionTaskRelation

The AddCollection methods adds a realation from a Collection to a Task (adds a Task to a Collection). It takes 3 parameters:

  • collectionId (The Id of the Collection)
  • taskId (The Id of the Task)
  • orderNumber (The order number of the Task inside of the Collection)
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
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.0-beta-818 81 1/17/2022
1.0.0-beta-806 71 1/10/2022
1.0.0-beta-781 72 1/5/2022
1.0.0-beta-777 71 1/5/2022
1.0.0-beta-774 73 1/5/2022
1.0.0-beta-772 72 1/4/2022
1.0.0-beta-771 75 1/4/2022
1.0.0-beta-755 78 12/21/2021
1.0.0-beta-737 71 12/17/2021
1.0.0-beta-736 76 12/17/2021
1.0.0-beta-731 104 12/16/2021
1.0.0-beta-726 74 12/16/2021
1.0.0-beta-722 75 12/16/2021
1.0.0-beta-606 2,916 11/25/2021
1.0.0-beta-600 2,637 11/25/2021
1.0.0-beta-591 6,367 11/23/2021
1.0.0-beta-509 170 10/10/2021