mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-19 03:27:29 +02:00
Version 3.0.337
This commit is contained in:
parent
fd0e63cf10
commit
573fe77e12
2336 changed files with 33688 additions and 86082 deletions
|
@ -1,8 +1,8 @@
|
|||
using Serilog;
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using Serilog;
|
||||
using TINK.Model.Connector;
|
||||
using TINK.Model.MiniSurvey;
|
||||
using TINK.MultilingualResources;
|
||||
|
@ -53,7 +53,7 @@ namespace TINK.ViewModel.MiniSurvey
|
|||
|
||||
MiniSurvey.Questions.Add(
|
||||
"q1",
|
||||
new MiniSurveyModel.QuestionModel
|
||||
new QuestionModel
|
||||
{
|
||||
Text = "1. Was war der Hauptzweck dieser Ausleihe?",
|
||||
Type = MiniSurveyModel.Type.SingleAnswer
|
||||
|
@ -61,7 +61,7 @@ namespace TINK.ViewModel.MiniSurvey
|
|||
|
||||
MiniSurvey.Questions.Add(
|
||||
"q2",
|
||||
new MiniSurveyModel.QuestionModel
|
||||
new QuestionModel
|
||||
{
|
||||
Text = "2. Welches Verkehrsmittel hätten Sie ansonsten benutzt?",
|
||||
Type = MiniSurveyModel.Type.SingleAnswer
|
||||
|
@ -69,7 +69,7 @@ namespace TINK.ViewModel.MiniSurvey
|
|||
|
||||
MiniSurvey.Questions.Add(
|
||||
"q3",
|
||||
new MiniSurveyModel.QuestionModel
|
||||
new QuestionModel
|
||||
{
|
||||
Text = "3. Haben Sie Anmerkungen oder Anregungen?",
|
||||
Type = MiniSurveyModel.Type.CustomText
|
||||
|
@ -120,7 +120,7 @@ namespace TINK.ViewModel.MiniSurvey
|
|||
public string Footer { get; set; }
|
||||
|
||||
/// <summary> Processes request to perform a copri action (reserve bike and cancel reservation). </summary>
|
||||
public System.Windows.Input.ICommand OnButtonClicked => new Xamarin.Forms.Command(async () =>
|
||||
public System.Windows.Input.ICommand OnButtonClicked => new Xamarin.Forms.Command(async () =>
|
||||
{
|
||||
Log.ForContext<MiniSurveyViewModel>().Information($"User result {this[0].Answer.Value}, {this[1].Answer.Value}");
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace TINK.ViewModel.MiniSurvey.Question
|
|||
KeyValuePair<string, string> question,
|
||||
Dictionary<string, string> answers)
|
||||
{
|
||||
Question = question;
|
||||
Question = question;
|
||||
Answers = answers ?? new Dictionary<string, string>();
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace TINK.ViewModel.MiniSurvey.Question
|
|||
public KeyValuePair<string, string> Answer { get; private set; }
|
||||
|
||||
/// <summary> Holds the list of possible answers exposed to GUI. </summary>
|
||||
public string AnswerText
|
||||
public string AnswerText
|
||||
{
|
||||
get => null;
|
||||
set => Answer = new KeyValuePair<string, string>(value, null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue