Brainix.Common.Dataload 1.0.0-beta-774

This is a prerelease version of Brainix.Common.Dataload.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Brainix.Common.Dataload --version 1.0.0-beta-774                
NuGet\Install-Package Brainix.Common.Dataload -Version 1.0.0-beta-774                
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-774" />                
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-774                
#r "nuget: Brainix.Common.Dataload, 1.0.0-beta-774"                
#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-774&prerelease

// Install Brainix.Common.Dataload as a Cake Tool
#tool nuget:?package=Brainix.Common.Dataload&version=1.0.0-beta-774&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 178 1/17/2022
1.0.0-beta-806 145 1/10/2022
1.0.0-beta-781 159 1/5/2022
1.0.0-beta-777 146 1/5/2022
1.0.0-beta-774 150 1/5/2022
1.0.0-beta-772 145 1/4/2022
1.0.0-beta-771 144 1/4/2022
1.0.0-beta-755 152 12/21/2021
1.0.0-beta-737 139 12/17/2021
1.0.0-beta-736 147 12/17/2021
1.0.0-beta-731 183 12/16/2021
1.0.0-beta-726 147 12/16/2021
1.0.0-beta-722 148 12/16/2021
1.0.0-beta-606 2,986 11/25/2021
1.0.0-beta-600 2,716 11/25/2021
1.0.0-beta-591 6,446 11/23/2021
1.0.0-beta-509 249 10/10/2021