Brainix.Common.Dataload 1.0.0-beta-818

This is a prerelease version of Brainix.Common.Dataload.
dotnet add package Brainix.Common.Dataload --version 1.0.0-beta-818                
NuGet\Install-Package Brainix.Common.Dataload -Version 1.0.0-beta-818                
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="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                
#r "nuget: Brainix.Common.Dataload, 1.0.0-beta-818"                
#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.
// 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                

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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
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.0-beta-818 186 1/17/2022
1.0.0-beta-806 154 1/10/2022
1.0.0-beta-781 167 1/5/2022
1.0.0-beta-777 154 1/5/2022
1.0.0-beta-774 158 1/5/2022
1.0.0-beta-772 153 1/4/2022
1.0.0-beta-771 152 1/4/2022
1.0.0-beta-755 163 12/21/2021
1.0.0-beta-737 147 12/17/2021
1.0.0-beta-736 155 12/17/2021
1.0.0-beta-731 191 12/16/2021
1.0.0-beta-726 155 12/16/2021
1.0.0-beta-722 156 12/16/2021
1.0.0-beta-606 2,994 11/25/2021
1.0.0-beta-600 2,724 11/25/2021
1.0.0-beta-591 6,454 11/23/2021
1.0.0-beta-509 258 10/10/2021