Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
|
f830ab7199 | 3 months ago |
|
f168a8bd8c | 3 months ago |
|
6f16e134ca | 3 months ago |
|
60183a2d3a | 3 months ago |
@ -1,71 +0,0 @@
|
||||
kind: pipeline
|
||||
name: CI
|
||||
type: docker
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
commands:
|
||||
- cd WF-WebAdmin/WF-WebAdmin
|
||||
- dotnet restore WF-WebAdmin.csproj
|
||||
- dotnet build WF-WebAdmin.csproj -c Release --no-restore
|
||||
- dotnet publish WF-WebAdmin.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/publish
|
||||
|
||||
- name: tests
|
||||
image: mcr.microsoft.com/dotnet/sdk:6.0
|
||||
commands:
|
||||
- cd WF-WebAdmin/WF-WebAdmin
|
||||
- dotnet restore WF-WebAdmin.csproj
|
||||
- dotnet test WF-WebAdmin.csproj --no-restore
|
||||
depends_on: [ build ]
|
||||
|
||||
- name: code-analysis
|
||||
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-dotnet8
|
||||
commands:
|
||||
- cd WF-WebAdmin/
|
||||
- dotnet restore WF-WebAdmin.sln
|
||||
- dotnet sonarscanner begin /k:$${project_key} /d:sonar.host.url=$${sonar_host} /d:sonar.coverageReportPaths="coveragereport/SonarQube.xml" /d:sonar.coverage.exclusions=$${coverage_exclusions} /d:sonar.login=$${sonar_token}
|
||||
- dotnet build WF-WebAdmin.sln -c Release --no-restore
|
||||
- dotnet test WF-WebAdmin.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage"
|
||||
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
|
||||
- dotnet publish WF-WebAdmin.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
||||
- dotnet sonarscanner end /d:sonar.login=$${sonar_token}
|
||||
secrets: [ SECRET_SONAR_LOGIN ]
|
||||
environment:
|
||||
sonar_host: https://codefirst.iut.uca.fr/sonar/
|
||||
sonar_token:
|
||||
from_secret: sonar_token
|
||||
project_key: web_admin
|
||||
coverage_exclusions: "Tests/**"
|
||||
depends_on: [ tests ]
|
||||
|
||||
- name: generate-and-deploy-docs
|
||||
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-docdeployer
|
||||
failure: ignore
|
||||
volumes:
|
||||
- name: docs
|
||||
path: /docs
|
||||
commands:
|
||||
- /entrypoint.sh
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
depends_on: [ build ]
|
||||
|
||||
- name: docker_build
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: hub.codefirst.iut.uca.fr/whatthefantasy/wf-webadmin
|
||||
registry: hub.codefirst.iut.uca.fr
|
||||
dockerfile: Docker/Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
depends_on: [ build, tests, code-analysis ]
|
@ -1,27 +0,0 @@
|
||||
# 1. Étape de build (SDK .NET 6)
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
|
||||
# Copier le csproj et restaurer les dépendances
|
||||
COPY WF-WebAdmin/WF-WebAdmin/WF-WebAdmin.csproj ./
|
||||
RUN dotnet restore WF-WebAdmin.csproj
|
||||
|
||||
# Copier le reste du code et compiler
|
||||
COPY WF-WebAdmin/WF-WebAdmin/ ./
|
||||
RUN dotnet publish WF-WebAdmin.csproj -c Release -o /app/publish
|
||||
|
||||
# 2. Étape finale (runtime .NET 6)
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS final
|
||||
WORKDIR /app
|
||||
|
||||
# Désactiver le rechargement de config pour éviter les erreurs inotify
|
||||
ENV ASPNETCORE_HOSTBUILDER__RELOADCONFIGONCHANGE=false
|
||||
|
||||
# Copier les binaires publiés
|
||||
COPY --from=build /app/publish ./
|
||||
|
||||
# Exposer le port HTTP (80) ; adapte si besoin
|
||||
EXPOSE 80
|
||||
|
||||
# Lancement
|
||||
ENTRYPOINT ["dotnet", "WF-WebAdmin.dll"]
|
@ -1,11 +0,0 @@
|
||||
namespace UnitTestWF
|
||||
{
|
||||
public class UnitTest1
|
||||
{
|
||||
[Fact]
|
||||
public void Test1()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
<IsTestProject>true</IsTestProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="coverlet.collector" Version="6.0.4">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
||||
<PackageReference Include="xunit" Version="2.9.3" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Using Include="Xunit" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -1,13 +0,0 @@
|
||||
namespace WF_WebAdmin.Data
|
||||
{
|
||||
public class WeatherForecast
|
||||
{
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
public int TemperatureC { get; set; }
|
||||
|
||||
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||
|
||||
public string? Summary { get; set; }
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
namespace WF_WebAdmin.Data
|
||||
{
|
||||
public class WeatherForecastService
|
||||
{
|
||||
private static readonly string[] Summaries = new[]
|
||||
{
|
||||
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
|
||||
};
|
||||
|
||||
public Task<WeatherForecast[]> GetForecastAsync(DateTime startDate)
|
||||
{
|
||||
return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast
|
||||
{
|
||||
Date = startDate.AddDays(index),
|
||||
TemperatureC = Random.Shared.Next(-20, 55),
|
||||
Summary = Summaries[Random.Shared.Next(Summaries.Length)]
|
||||
}).ToArray());
|
||||
}
|
||||
}
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
@page "/commentary-chart"
|
||||
|
||||
<h1>Nombre de commentaires par mois</h1>
|
||||
|
||||
<MudChart ChartType="ChartType.Bar" ChartSeries="@Series" @bind-SelectedIndex="Index" LegendPosition="Position.Bottom" XAxisLabels="@XAxisLabels" Width="100%" Height="350px"></MudChart>
|
||||
|
||||
@code {
|
||||
private int Index = -1;
|
||||
private List<ChartSeries> Series = new();
|
||||
private string[] XAxisLabels = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
|
||||
|
||||
[Inject] private WF_WebAdmin.Service.ICommentaryService CommentaryService { get; set; } = default!;
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
var comments = await CommentaryService.GetCommentsAsync();
|
||||
var groupedData = comments.GroupBy(c => c.DateCreation.Month)
|
||||
.OrderBy(g => g.Key)
|
||||
.Select(g => new { Month = g.Key - 1, Value = g.Count() })
|
||||
.ToList();
|
||||
|
||||
double[] data = new double[12];
|
||||
foreach (var item in groupedData)
|
||||
{
|
||||
data[item.Month] = item.Value;
|
||||
}
|
||||
|
||||
Series = new List<ChartSeries>
|
||||
{
|
||||
new ChartSeries
|
||||
{
|
||||
Name = "",
|
||||
Data = data
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
@page "/logs"
|
||||
|
||||
<h3>@Localizer["LogTitle"]</h3>
|
||||
|
||||
|
||||
@if (logs is null)
|
||||
{
|
||||
<p>@Localizer["NotLog"]</p>
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
<p>@Localizer["Log"]</p>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>@Localizer["LogLvl"]</th>
|
||||
<th>@Localizer["LogContent"]</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach (var log in logs)
|
||||
{
|
||||
<tr>
|
||||
<td>@log.LogLevel</td>
|
||||
<td>@log.Message</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
}
|
@ -1,135 +1,104 @@
|
||||
using Blazorise.DataGrid;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.Extensions.Localization;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using System.Security.Claims;
|
||||
using WF_WebAdmin.Model;
|
||||
using WF_WebAdmin.Service;
|
||||
|
||||
namespace WF_WebAdmin.Pages
|
||||
{
|
||||
/// <summary>
|
||||
/// Composant Blazor pour la gestion des citations, permettant la modification et la suppression de celles-ci.
|
||||
/// </summary>
|
||||
public partial class ModifQuote
|
||||
{
|
||||
/// <summary>
|
||||
/// Liste des citations à afficher dans le tableau.
|
||||
/// </summary>
|
||||
private Quote[] quotes;
|
||||
|
||||
/// <summary>
|
||||
/// Valeur maximale d'éléments par page.
|
||||
/// </summary>
|
||||
private int MaxValue = 5;
|
||||
|
||||
/// <summary>
|
||||
/// Nombre total d'éléments dans la liste des citations.
|
||||
/// </summary>
|
||||
private int totalItem;
|
||||
|
||||
/*private bool showEditQuote = false;*/
|
||||
|
||||
/// <summary>
|
||||
/// Citation actuellement sélectionnée pour modification.
|
||||
/// </summary>
|
||||
private Quote? selectedQuote;
|
||||
|
||||
/// <summary>
|
||||
/// Indicateur de l'affichage de la popup de suppression.
|
||||
/// </summary>
|
||||
private bool showPopupDelete = false;
|
||||
|
||||
/// <summary>
|
||||
/// Numéro de la page actuellement affichée.
|
||||
/// </summary>
|
||||
private int page = 1;
|
||||
|
||||
[Inject]
|
||||
public ILogger<ModifQuote>? Logger { get; set; }
|
||||
|
||||
[Inject]
|
||||
public IStringLocalizer<ModifQuote> Localizer { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Service pour gérer les citations injecté.
|
||||
/// </summary>
|
||||
[Inject]
|
||||
public IQuoteService QuoteService { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Handles the data reading event for a data grid, fetching quote data based on the specified page and page size.
|
||||
/// This method makes an asynchronous call to retrieve a specific page of quotes and updates the `quotes` list and pagination details.
|
||||
/// If the cancellation token is requested, it exits early without making further calls or updates.
|
||||
/// Méthode appelée pour récupérer les données de la page actuelle dans le tableau.
|
||||
/// </summary>
|
||||
/// <param name="e">The event arguments containing pagination details such as page size and page number.</param>
|
||||
/// <param name="e">Arguments de lecture de données pour le DataGrid.</param>
|
||||
private async Task OnReadData(DataGridReadDataEventArgs<Quote> e)
|
||||
{
|
||||
// Check if the cancellation token has been requested
|
||||
if (e.CancellationToken.IsCancellationRequested)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Fetch the quote data for the specified page and page size
|
||||
var response = await QuoteService.getSomeQuote(e.PageSize, e.Page);
|
||||
|
||||
// If cancellation hasn't been requested, process the data
|
||||
if (!e.CancellationToken.IsCancellationRequested)
|
||||
{
|
||||
// Get the total number of quotes for pagination purposes
|
||||
totalItem = await QuoteService.getNbQuote();
|
||||
|
||||
// Update the quotes data for the current page
|
||||
quotes = response.ToArray();
|
||||
|
||||
// Update the current page number
|
||||
page = e.Page;
|
||||
}
|
||||
}
|
||||
|
||||
/*private void OnEditButtonClicked(Quote quote)
|
||||
{
|
||||
if (selectedQuote == null) return;
|
||||
selectedQuote = quote;
|
||||
showEditQuote = true;
|
||||
}*/
|
||||
|
||||
/// <summary>
|
||||
/// Closes the open popups and resets any related states.
|
||||
/// This method hides the delete confirmation popup and clears the selected quote.
|
||||
/// Méthode pour fermer la popup (modification ou suppression).
|
||||
/// </summary>
|
||||
private void ClosePopup()
|
||||
{
|
||||
// Hide the delete confirmation popup
|
||||
showPopupDelete = false;
|
||||
|
||||
// Reset the selected quote to null
|
||||
selectedQuote = null;
|
||||
}
|
||||
|
||||
/*private async Task EditQuote()
|
||||
{
|
||||
await QuoteService.updateQuote(selectedQuote);
|
||||
selectedQuote = null;
|
||||
ClosePopup();
|
||||
}*/
|
||||
|
||||
/// <summary>
|
||||
/// Handles the event when the delete action is triggered for a quote.
|
||||
/// This method sets the selected quote to the one passed as a parameter and displays the delete confirmation popup.
|
||||
/// Méthode appelée pour afficher la popup de suppression d'une citation.
|
||||
/// </summary>
|
||||
/// <param name="q">The quote that is being deleted.</param>
|
||||
/// <param name="q">Citation à supprimer.</param>
|
||||
private void OnDelete(Quote q)
|
||||
{
|
||||
// Set the selected quote to the one passed in
|
||||
selectedQuote = q;
|
||||
|
||||
// Display the delete confirmation popup
|
||||
showPopupDelete = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Removes the selected quote by calling the remove service and updates the quote list.
|
||||
/// This method checks if a quote is selected. If so, it removes the quote using the `QuoteService`, clears the selected quote,
|
||||
/// and fetches the updated list of quotes. It also closes the delete confirmation popup after the operation.
|
||||
/// Méthode pour supprimer une citation sélectionnée.
|
||||
/// </summary>
|
||||
private async Task RemoveQuote()
|
||||
private async void RemoveQuote()
|
||||
{
|
||||
// Check if a quote is selected for removal
|
||||
if (selectedQuote != null)
|
||||
{
|
||||
// Remove the selected quote using the QuoteService
|
||||
LoggerSaveStub.Log(Logger, LogLevel.Information, $"The quote {selectedQuote.Content} has been deleted");
|
||||
await QuoteService.removeQuote(selectedQuote);
|
||||
|
||||
// Clear the selected quote after removal
|
||||
selectedQuote = null;
|
||||
|
||||
// Update the quotes list by fetching the latest quotes data
|
||||
selectedQuote= null;
|
||||
var response = await QuoteService.getSomeQuote(MaxValue, page);
|
||||
quotes = response.ToArray();
|
||||
}
|
||||
|
||||
// Close the delete confirmation popup
|
||||
showPopupDelete = false;
|
||||
showPopupDelete= false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Answer A:</value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Answer B:</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Answer C:</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Answer D:</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Good answer:</value>
|
||||
</data>
|
||||
<data name="Submit" xml:space="preserve">
|
||||
<value>Submit</value>
|
||||
</data>
|
||||
<data name="TitleAddQuiz" xml:space="preserve">
|
||||
<value>Add a question</value>
|
||||
</data>
|
||||
<data name="TitleQuestion" xml:space="preserve">
|
||||
<value>Question:</value>
|
||||
</data>
|
||||
</root>
|
@ -1,144 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Réponse A:</value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Réponse B:</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Réponse C:</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Réponse D:</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Bonne réponse:</value>
|
||||
</data>
|
||||
<data name="Submit" xml:space="preserve">
|
||||
<value>Valider</value>
|
||||
</data>
|
||||
<data name="TitleAddQuiz" xml:space="preserve">
|
||||
<value>Ajouter une Question</value>
|
||||
</data>
|
||||
<data name="TitleQuestion" xml:space="preserve">
|
||||
<value>Question:</value>
|
||||
</data>
|
||||
</root>
|
@ -1,135 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Log" xml:space="preserve">
|
||||
<value>Current Logs</value>
|
||||
</data>
|
||||
<data name="LogContent" xml:space="preserve">
|
||||
<value>Content</value>
|
||||
</data>
|
||||
<data name="LogLvl" xml:space="preserve">
|
||||
<value>Type of Logs :</value>
|
||||
</data>
|
||||
<data name="LogTitle" xml:space="preserve">
|
||||
<value>Logs</value>
|
||||
</data>
|
||||
<data name="NotLog" xml:space="preserve">
|
||||
<value>No Log</value>
|
||||
</data>
|
||||
</root>
|
@ -1,135 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Log" xml:space="preserve">
|
||||
<value>Logs actuels</value>
|
||||
</data>
|
||||
<data name="LogContent" xml:space="preserve">
|
||||
<value>Contenu</value>
|
||||
</data>
|
||||
<data name="LogLvl" xml:space="preserve">
|
||||
<value>Type de Logs :</value>
|
||||
</data>
|
||||
<data name="LogTitle" xml:space="preserve">
|
||||
<value>Logs</value>
|
||||
</data>
|
||||
<data name="NotLog" xml:space="preserve">
|
||||
<value>Aucun Log</value>
|
||||
</data>
|
||||
</root>
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Action</value>
|
||||
</data>
|
||||
<data name="Add" xml:space="preserve">
|
||||
<value>Add</value>
|
||||
</data>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Answer A</value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Answer B</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Answer C</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Answer D</value>
|
||||
</data>
|
||||
<data name="Cancel" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name="Delete" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name="Edit" xml:space="preserve">
|
||||
<value>Edit</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Good Answer</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>ID</value>
|
||||
</data>
|
||||
<data name="ModifInfoUser" xml:space="preserve">
|
||||
<value>Edit user information :</value>
|
||||
</data>
|
||||
<data name="PopupQuestion" xml:space="preserve">
|
||||
<value>Are you sure you want to delete this quiz ?</value>
|
||||
</data>
|
||||
<data name="Question" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="Save" xml:space="preserve">
|
||||
<value>Save</value>
|
||||
</data>
|
||||
<data name="TitlePage" xml:space="preserve">
|
||||
<value>Quiz Management</value>
|
||||
</data>
|
||||
<data name="Yes" xml:space="preserve">
|
||||
<value>Confirm</value>
|
||||
</data>
|
||||
</root>
|
@ -1,171 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Action</value>
|
||||
</data>
|
||||
<data name="Add" xml:space="preserve">
|
||||
<value>Ajouter</value>
|
||||
</data>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Réponse A</value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Réponse B</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Réponse C</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Réponse D</value>
|
||||
</data>
|
||||
<data name="Cancel" xml:space="preserve">
|
||||
<value>Annuler</value>
|
||||
</data>
|
||||
<data name="Delete" xml:space="preserve">
|
||||
<value>Supprimer</value>
|
||||
</data>
|
||||
<data name="Edit" xml:space="preserve">
|
||||
<value>Editer</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Bonne réponse</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>ID</value>
|
||||
</data>
|
||||
<data name="ModifInfoUser" xml:space="preserve">
|
||||
<value>Modifier les informations de l'utilisateur :</value>
|
||||
</data>
|
||||
<data name="PopupQuestion" xml:space="preserve">
|
||||
<value>Êtes-vous sûr de vouloir supprimer ce quiz ?</value>
|
||||
</data>
|
||||
<data name="Question" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="Save" xml:space="preserve">
|
||||
<value>Sauvegarder</value>
|
||||
</data>
|
||||
<data name="TitlePage" xml:space="preserve">
|
||||
<value>Gestion des quiz</value>
|
||||
</data>
|
||||
<data name="Yes" xml:space="preserve">
|
||||
<value>Confirmer</value>
|
||||
</data>
|
||||
</root>
|
@ -1,159 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Action</value>
|
||||
</data>
|
||||
<data name="Cancel" xml:space="preserve">
|
||||
<value>Cancel</value>
|
||||
</data>
|
||||
<data name="Character" xml:space="preserve">
|
||||
<value>Character</value>
|
||||
</data>
|
||||
<data name="Date" xml:space="preserve">
|
||||
<value>Date</value>
|
||||
</data>
|
||||
<data name="Delete" xml:space="preserve">
|
||||
<value>Delete</value>
|
||||
</data>
|
||||
<data name="Edit" xml:space="preserve">
|
||||
<value>Edit</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>Id</value>
|
||||
</data>
|
||||
<data name="Language" xml:space="preserve">
|
||||
<value>Language</value>
|
||||
</data>
|
||||
<data name="PopupQuestion" xml:space="preserve">
|
||||
<value>Are you sure you want to delete this quote ?</value>
|
||||
</data>
|
||||
<data name="Quote" xml:space="preserve">
|
||||
<value>Quote</value>
|
||||
</data>
|
||||
<data name="Source" xml:space="preserve">
|
||||
<value>Source</value>
|
||||
</data>
|
||||
<data name="TitlePage" xml:space="preserve">
|
||||
<value>Corrections of quotes</value>
|
||||
</data>
|
||||
<data name="Yes" xml:space="preserve">
|
||||
<value>Confirm</value>
|
||||
</data>
|
||||
</root>
|
@ -1,159 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Action</value>
|
||||
</data>
|
||||
<data name="Cancel" xml:space="preserve">
|
||||
<value>Annuler</value>
|
||||
</data>
|
||||
<data name="Character" xml:space="preserve">
|
||||
<value>Personage</value>
|
||||
</data>
|
||||
<data name="Date" xml:space="preserve">
|
||||
<value>Date</value>
|
||||
</data>
|
||||
<data name="Delete" xml:space="preserve">
|
||||
<value>Supprimer</value>
|
||||
</data>
|
||||
<data name="Edit" xml:space="preserve">
|
||||
<value>Editer</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>Id</value>
|
||||
</data>
|
||||
<data name="Language" xml:space="preserve">
|
||||
<value>Langue</value>
|
||||
</data>
|
||||
<data name="PopupQuestion" xml:space="preserve">
|
||||
<value>Êtes-vous sûr de vouloir supprimer cette citation ?</value>
|
||||
</data>
|
||||
<data name="Quote" xml:space="preserve">
|
||||
<value>Citation</value>
|
||||
</data>
|
||||
<data name="Source" xml:space="preserve">
|
||||
<value>Source</value>
|
||||
</data>
|
||||
<data name="TitlePage" xml:space="preserve">
|
||||
<value>Correction des citations</value>
|
||||
</data>
|
||||
<data name="Yes" xml:space="preserve">
|
||||
<value>Confirmer</value>
|
||||
</data>
|
||||
</root>
|
@ -1,153 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Actions</value>
|
||||
</data>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Answer A</value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Answer B</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Answer C</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Answer D</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Correct answer</value>
|
||||
</data>
|
||||
<data name="LoadQuiz" xml:space="preserve">
|
||||
<value>Loading quizzes</value>
|
||||
</data>
|
||||
<data name="Question" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="QuizAwait" xml:space="preserve">
|
||||
<value>Quiz awaiting validation</value>
|
||||
</data>
|
||||
<data name="TitleQuiz" xml:space="preserve">
|
||||
<value>Quiz to validate</value>
|
||||
</data>
|
||||
<data name="User" xml:space="preserve">
|
||||
<value>User</value>
|
||||
</data>
|
||||
</root>
|
@ -1,153 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Action" xml:space="preserve">
|
||||
<value>Actions</value>
|
||||
</data>
|
||||
<data name="AnswerA" xml:space="preserve">
|
||||
<value>Réponse A </value>
|
||||
</data>
|
||||
<data name="AnswerB" xml:space="preserve">
|
||||
<value>Réponse B</value>
|
||||
</data>
|
||||
<data name="AnswerC" xml:space="preserve">
|
||||
<value>Réponse C</value>
|
||||
</data>
|
||||
<data name="AnswerD" xml:space="preserve">
|
||||
<value>Réponse D</value>
|
||||
</data>
|
||||
<data name="GoodAnswer" xml:space="preserve">
|
||||
<value>Réponse Correcte</value>
|
||||
</data>
|
||||
<data name="LoadQuiz" xml:space="preserve">
|
||||
<value>Chargement des quiz ...</value>
|
||||
</data>
|
||||
<data name="Question" xml:space="preserve">
|
||||
<value>Question</value>
|
||||
</data>
|
||||
<data name="QuizAwait" xml:space="preserve">
|
||||
<value>Quizs en attente de validation :</value>
|
||||
</data>
|
||||
<data name="TitleQuiz" xml:space="preserve">
|
||||
<value>Quiz à valider</value>
|
||||
</data>
|
||||
<data name="User" xml:space="preserve">
|
||||
<value>Utilisateur</value>
|
||||
</data>
|
||||
</root>
|
@ -1,153 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Character" xml:space="preserve">
|
||||
<value>Character :</value>
|
||||
</data>
|
||||
<data name="Content" xml:space="preserve">
|
||||
<value>Content :</value>
|
||||
</data>
|
||||
<data name="Date" xml:space="preserve">
|
||||
<value>Source date</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>ID :</value>
|
||||
</data>
|
||||
<data name="Image" xml:space="preserve">
|
||||
<value>Image :</value>
|
||||
</data>
|
||||
<data name="Language" xml:space="preserve">
|
||||
<value>Language :</value>
|
||||
</data>
|
||||
<data name="LoginQuote" xml:space="preserve">
|
||||
<value>Loading quotes</value>
|
||||
</data>
|
||||
<data name="QuoteValid" xml:space="preserve">
|
||||
<value>Quotes awaiting validation</value>
|
||||
</data>
|
||||
<data name="Source" xml:space="preserve">
|
||||
<value>Source :</value>
|
||||
</data>
|
||||
<data name="TitleValid" xml:space="preserve">
|
||||
<value>Unvalidated quotes</value>
|
||||
</data>
|
||||
<data name="User" xml:space="preserve">
|
||||
<value>User :</value>
|
||||
</data>
|
||||
</root>
|
@ -1,153 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="Character" xml:space="preserve">
|
||||
<value>Personnage :</value>
|
||||
</data>
|
||||
<data name="Content" xml:space="preserve">
|
||||
<value>Contenu :</value>
|
||||
</data>
|
||||
<data name="Date" xml:space="preserve">
|
||||
<value>Date de la source :</value>
|
||||
</data>
|
||||
<data name="Id" xml:space="preserve">
|
||||
<value>ID :</value>
|
||||
</data>
|
||||
<data name="Image" xml:space="preserve">
|
||||
<value>Image :</value>
|
||||
</data>
|
||||
<data name="Language" xml:space="preserve">
|
||||
<value>Langue :</value>
|
||||
</data>
|
||||
<data name="LoginQuote" xml:space="preserve">
|
||||
<value>Chargement des citations...</value>
|
||||
</data>
|
||||
<data name="QuoteValid" xml:space="preserve">
|
||||
<value>Citations en attente de validation :</value>
|
||||
</data>
|
||||
<data name="Source" xml:space="preserve">
|
||||
<value>Source :</value>
|
||||
</data>
|
||||
<data name="TitleValid" xml:space="preserve">
|
||||
<value>Citations non validées</value>
|
||||
</data>
|
||||
<data name="User" xml:space="preserve">
|
||||
<value>Utilisateur :</value>
|
||||
</data>
|
||||
</root>
|
@ -1,202 +1,153 @@
|
||||
using System.Text.Json;
|
||||
using WF_WebAdmin.Model;
|
||||
|
||||
namespace WF_WebAdmin.Service;
|
||||
|
||||
public class QuizServiceStub: IQuizService
|
||||
namespace WF_WebAdmin.Service
|
||||
{
|
||||
private readonly string _jsonFilePath = Path.Combine(Environment.CurrentDirectory, "wwwroot", "fake_data_quiz.json");
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously saves a list of quiz objects to a JSON file.
|
||||
/// Service de gestion des quiz utilisant un fichier JSON comme stockage de données.
|
||||
/// </summary>
|
||||
/// <param name="quizzes">A list of <see cref="Quiz"/> objects to be serialized and saved.</param>
|
||||
/// <returns>A task representing the asynchronous operation.</returns>
|
||||
/// <remarks>
|
||||
/// This method serializes the list of quizzes to a well-formatted JSON string and saves it
|
||||
/// to a specified file path. The <paramref name="quizzes"/> list is serialized using
|
||||
/// <see cref="JsonSerializer"/> with indented formatting to make the JSON human-readable.
|
||||
/// </remarks>
|
||||
public async Task saveQuizJson(List<Quiz> quizzes)
|
||||
public class QuizServiceStub : IQuizService
|
||||
{
|
||||
var json = JsonSerializer.Serialize(quizzes, new JsonSerializerOptions { WriteIndented = true });
|
||||
await File.WriteAllTextAsync(_jsonFilePath, json);
|
||||
}
|
||||
private readonly string _jsonFilePath = Path.Combine(Environment.CurrentDirectory, "wwwroot", "fake_data_quiz.json");
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously adds a new quiz to the list of quizzes and saves the updated list to a JSON file.
|
||||
/// </summary>
|
||||
/// <param name="quiz">The <see cref="Quiz"/> object to be added to the list of quizzes.</param>
|
||||
/// <returns>A task representing the asynchronous operation.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the current list of quizzes using <see cref="getQuizzes"/>, assigns a unique ID to the
|
||||
/// new quiz (based on the highest existing ID), and adds the new quiz to the list. Afterward, the updated list
|
||||
/// of quizzes is saved back to the JSON file using <see cref="saveQuizJson"/>. The new quiz will have an ID
|
||||
/// that's one greater than the highest existing ID or 1 if no quizzes exist.
|
||||
/// </remarks>
|
||||
public async Task addQuiz(Quiz quiz)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
quiz.Id = data.Count > 0 ? data.Max(p => p.Id) + 1 : 1;
|
||||
data.Add(quiz);
|
||||
await saveQuizJson(data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously updates an existing quiz in the list of quizzes and saves the updated list to a JSON file.
|
||||
/// </summary>
|
||||
/// <param name="quiz">The <see cref="Quiz"/> object containing the updated data.</param>
|
||||
/// <returns>A task representing the asynchronous operation.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the current list of quizzes using <see cref="getQuizzes"/>, searches for the quiz
|
||||
/// with the same ID as the one provided, and updates its properties with the new values from the given quiz object.
|
||||
/// If the quiz is found, the updated list is saved back to the JSON file using <see cref="saveQuizJson"/>.
|
||||
/// If no quiz with the matching ID is found, no update is performed.
|
||||
/// </remarks>
|
||||
public async Task updateQuiz(Quiz quiz)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
var existingQuiz = data.FirstOrDefault(q => q.Id == quiz.Id);
|
||||
if (existingQuiz != null)
|
||||
/// <summary>
|
||||
/// Sauvegarde la liste des quiz dans un fichier JSON.
|
||||
/// </summary>
|
||||
/// <param name="quizzes">Liste des quiz à sauvegarder.</param>
|
||||
public async Task saveQuizJson(List<Quiz> quizzes)
|
||||
{
|
||||
existingQuiz.Question = quiz.Question;
|
||||
existingQuiz.AnswerA = quiz.AnswerA;
|
||||
existingQuiz.AnswerB = quiz.AnswerB;
|
||||
existingQuiz.AnswerC = quiz.AnswerC;
|
||||
existingQuiz.AnswerD = quiz.AnswerD;
|
||||
existingQuiz.CAnswer = quiz.CAnswer;
|
||||
existingQuiz.IsValid = quiz.IsValid;
|
||||
existingQuiz.UserProposition = quiz.UserProposition;
|
||||
await saveQuizJson(data);
|
||||
var json = JsonSerializer.Serialize(quizzes, new JsonSerializerOptions { WriteIndented = true });
|
||||
await File.WriteAllTextAsync(_jsonFilePath, json);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously removes a quiz from the list of quizzes by its ID and saves the updated list to a JSON file.
|
||||
/// </summary>
|
||||
/// <param name="id">The ID of the <see cref="Quiz"/> to be removed.</param>
|
||||
/// <returns>A task representing the asynchronous operation.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the current list of quizzes using <see cref="getQuizzes"/>, searches for the quiz
|
||||
/// with the specified ID, and removes it from the list if found. After removal, the updated list of quizzes is
|
||||
/// saved back to the JSON file using <see cref="saveQuizJson"/>. If no quiz with the matching ID is found,
|
||||
/// no changes are made.
|
||||
/// </remarks>
|
||||
public async Task removeQuiz(int id)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
var quiz = data.FirstOrDefault(q => q.Id == id);
|
||||
if (quiz != null)
|
||||
/// <summary>
|
||||
/// Ajoute un quiz à la liste et le sauvegarde dans le fichier JSON.
|
||||
/// </summary>
|
||||
/// <param name="quiz">Quiz à ajouter.</param>
|
||||
public async Task addQuiz(Quiz quiz)
|
||||
{
|
||||
data.Remove(quiz);
|
||||
var data = await getQuizzes();
|
||||
quiz.Id = data.Count > 0 ? data.Max(p => p.Id) + 1 : 1;
|
||||
data.Add(quiz);
|
||||
await saveQuizJson(data);
|
||||
}
|
||||
}
|
||||
|
||||
public Task validateQuiz(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
/// <summary>
|
||||
/// Met à jour un quiz existant dans la liste et le sauvegarde.
|
||||
/// </summary>
|
||||
/// <param name="quiz">Quiz mis à jour.</param>
|
||||
public async Task updateQuiz(Quiz quiz)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
var existingQuiz = data.FirstOrDefault(q => q.Id == quiz.Id);
|
||||
if (existingQuiz != null)
|
||||
{
|
||||
existingQuiz.Question = quiz.Question;
|
||||
existingQuiz.AnswerA = quiz.AnswerA;
|
||||
existingQuiz.AnswerB = quiz.AnswerB;
|
||||
existingQuiz.AnswerC = quiz.AnswerC;
|
||||
existingQuiz.AnswerD = quiz.AnswerD;
|
||||
existingQuiz.CAnswer = quiz.CAnswer;
|
||||
existingQuiz.IsValid = quiz.IsValid;
|
||||
existingQuiz.UserProposition = quiz.UserProposition;
|
||||
await saveQuizJson(data);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves the list of quizzes from a JSON file.
|
||||
/// </summary>
|
||||
/// <returns>A task representing the asynchronous operation, with a <see cref="List{Quiz}"/> result containing the quizzes.</returns>
|
||||
/// <remarks>
|
||||
/// This method checks if the JSON file exists at the specified file path. If the file does not exist, it logs a
|
||||
/// message to the console and returns an empty list of quizzes. If the file exists, it reads the JSON content,
|
||||
/// deserializes it into a list of <see cref="Quiz"/> objects, and returns the list. If the deserialization is
|
||||
/// unsuccessful or the file is empty, it returns an empty list instead.
|
||||
/// </remarks>
|
||||
public async Task<List<Quiz>> getQuizzes()
|
||||
{
|
||||
if (!File.Exists(_jsonFilePath))
|
||||
/// <summary>
|
||||
/// Supprime un quiz de la liste et met à jour le fichier JSON.
|
||||
/// </summary>
|
||||
/// <param name="id">Identifiant du quiz à supprimer.</param>
|
||||
public async Task removeQuiz(int id)
|
||||
{
|
||||
Console.Out.WriteLine($"{_jsonFilePath} not found");
|
||||
return new List<Quiz>();
|
||||
var data = await getQuizzes();
|
||||
var quiz = data.FirstOrDefault(q => q.Id == id);
|
||||
if (quiz != null)
|
||||
{
|
||||
data.Remove(quiz);
|
||||
await saveQuizJson(data);
|
||||
}
|
||||
}
|
||||
|
||||
var json = await File.ReadAllTextAsync(_jsonFilePath);
|
||||
return JsonSerializer.Deserialize<List<Quiz>>(json) ?? new List<Quiz>();
|
||||
}
|
||||
/// <summary>
|
||||
/// Valide un quiz (non implémenté).
|
||||
/// </summary>
|
||||
/// <param name="id">Identifiant du quiz à valider.</param>
|
||||
public Task validateQuiz(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves the list of quizzes that are marked as invalid and need validation.
|
||||
/// </summary>
|
||||
/// <returns>A task representing the asynchronous operation, with a <see cref="List{Quiz}"/> result containing quizzes that are not valid.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the full list of quizzes using <see cref="getQuizzes"/> and filters it to return only those
|
||||
/// quizzes where the <see cref="Quiz.IsValid"/> property is set to <c>false</c>. The filtered list is then returned.
|
||||
/// If no quizzes are invalid, an empty list will be returned.
|
||||
/// </remarks>
|
||||
public async Task<List<Quiz>> getQuizzesToValidate()
|
||||
{
|
||||
var quizzes = await getQuizzes();
|
||||
return quizzes.Where(quiz => !quiz.IsValid).ToList();
|
||||
}
|
||||
/// <summary>
|
||||
/// Récupère la liste complète des quiz à partir du fichier JSON.
|
||||
/// </summary>
|
||||
/// <returns>Liste des quiz.</returns>
|
||||
public async Task<List<Quiz>> getQuizzes()
|
||||
{
|
||||
if (!File.Exists(_jsonFilePath))
|
||||
{
|
||||
Console.Out.WriteLine($"{_jsonFilePath} not found");
|
||||
return new List<Quiz>();
|
||||
}
|
||||
|
||||
var json = await File.ReadAllTextAsync(_jsonFilePath);
|
||||
return JsonSerializer.Deserialize<List<Quiz>>(json) ?? new List<Quiz>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves a specific quiz by its ID from the list of quizzes.
|
||||
/// </summary>
|
||||
/// <param name="id">The ID of the <see cref="Quiz"/> to retrieve.</param>
|
||||
/// <returns>A task representing the asynchronous operation, with a <see cref="Quiz"/> result containing the matching quiz, or <c>null</c> if not found.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the full list of quizzes using <see cref="getQuizzes"/> and searches for a quiz with
|
||||
/// the specified ID. If a quiz with the matching ID is found, it is returned; otherwise, the method returns <c>null</c>.
|
||||
/// </remarks>
|
||||
public async Task<Quiz> getQuiz(int id)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
var q = data.FirstOrDefault(p => p.Id == id);
|
||||
if (q == null)
|
||||
/// <summary>
|
||||
/// Récupère la liste des quiz non validés.
|
||||
/// </summary>
|
||||
/// <returns>Liste des quiz en attente de validation.</returns>
|
||||
public async Task<List<Quiz>> getQuizzesToValidate()
|
||||
{
|
||||
throw new KeyNotFoundException($"Quiz with ID {id} not found.");
|
||||
var quizzes = await getQuizzes();
|
||||
return quizzes.Where(quiz => quiz.IsValid == false).ToList();
|
||||
}
|
||||
return q;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves a paginated list of quizzes, returning a specific number of quizzes for the given page.
|
||||
/// </summary>
|
||||
/// <param name="nb">The number of quizzes to retrieve per page.</param>
|
||||
/// <param name="page">The page number to retrieve, where the first page is 1.</param>
|
||||
/// <returns>A task representing the asynchronous operation, with a <see cref="List{Quiz}"/> result containing the quizzes for the specified page.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the full list of quizzes using <see cref="getQuizzes"/> and returns a subset of quizzes based
|
||||
/// on the specified page number and the number of quizzes per page. If the requested page exceeds the available quizzes,
|
||||
/// the method returns the last page with the remaining quizzes. If the number of quizzes requested per page exceeds the
|
||||
/// total number of quizzes, the method will return all quizzes available.
|
||||
/// </remarks>
|
||||
public async Task<List<Quiz>> getSommeQuiz(int nb, int page)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
if ((page - 1) * nb + nb > data.Count)
|
||||
/// <summary>
|
||||
/// Récupère un quiz spécifique par son identifiant.
|
||||
/// </summary>
|
||||
/// <param name="id">Identifiant du quiz.</param>
|
||||
/// <returns>Le quiz correspondant ou null s'il n'existe pas.</returns>
|
||||
public async Task<Quiz> getQuiz(int id)
|
||||
{
|
||||
if (nb > data.Count)
|
||||
var data = await getQuizzes();
|
||||
var q = data.FirstOrDefault(p => p.Id == id);
|
||||
if (q != null)
|
||||
{
|
||||
return data.GetRange(0, data.Count - 1);
|
||||
return q;
|
||||
}
|
||||
return data.GetRange(data.Count - nb, nb);
|
||||
return null;
|
||||
}
|
||||
return data.GetRange((page - 1) * nb, nb);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Récupère une liste paginée de quiz.
|
||||
/// </summary>
|
||||
/// <param name="nb">Nombre de quiz par page.</param>
|
||||
/// <param name="page">Numéro de la page.</param>
|
||||
/// <returns>Liste des quiz correspondant à la pagination.</returns>
|
||||
public async Task<List<Quiz>> getSommeQuiz(int nb, int page)
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
if ((page - 1) * nb + nb > data.Count())
|
||||
{
|
||||
if (nb > data.Count())
|
||||
{
|
||||
return data.GetRange(0, data.Count() - 1);
|
||||
}
|
||||
return data.GetRange(data.Count() - nb, nb);
|
||||
}
|
||||
return data.GetRange((page - 1) * nb, nb);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Asynchronously retrieves the total number of quizzes in the list.
|
||||
/// </summary>
|
||||
/// <returns>A task representing the asynchronous operation, with an <see cref="int"/> result containing the total number of quizzes.</returns>
|
||||
/// <remarks>
|
||||
/// This method retrieves the full list of quizzes using <see cref="getQuizzes"/> and returns the count of quizzes in the list.
|
||||
/// It simply returns the number of quizzes available in the data source.
|
||||
/// </remarks>
|
||||
public async Task<int> getNbQuiz()
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
return data.Count;
|
||||
/// <summary>
|
||||
/// Récupère le nombre total de quiz enregistrés.
|
||||
/// </summary>
|
||||
/// <returns>Nombre total de quiz.</returns>
|
||||
public async Task<int> getNbQuiz()
|
||||
{
|
||||
var data = await getQuizzes();
|
||||
return data.Count;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"version": "3.0",
|
||||
"defaultProvider": "cdnjs",
|
||||
"libraries": []
|
||||
}
|
@ -1,702 +0,0 @@
|
||||
[
|
||||
{
|
||||
"id_comment": 1,
|
||||
"quote": 19,
|
||||
"users": 29,
|
||||
"dateC": "2024-01-22",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 2,
|
||||
"quote": 6,
|
||||
"users": 18,
|
||||
"dateC": "2024-01-20",
|
||||
"comment": "Paroles sages."
|
||||
},
|
||||
{
|
||||
"id_comment": 3,
|
||||
"quote": 2,
|
||||
"users": 8,
|
||||
"dateC": "2024-01-25",
|
||||
"comment": "Citation puissante."
|
||||
},
|
||||
{
|
||||
"id_comment": 4,
|
||||
"quote": 11,
|
||||
"users": 31,
|
||||
"dateC": "2024-01-01",
|
||||
"comment": "Très poétique."
|
||||
},
|
||||
{
|
||||
"id_comment": 5,
|
||||
"quote": 8,
|
||||
"users": 6,
|
||||
"dateC": "2024-02-06",
|
||||
"comment": "Belle pensée."
|
||||
},
|
||||
{
|
||||
"id_comment": 6,
|
||||
"quote": 13,
|
||||
"users": 37,
|
||||
"dateC": "2024-02-01",
|
||||
"comment": "Citation exceptionnelle."
|
||||
},
|
||||
{
|
||||
"id_comment": 7,
|
||||
"quote": 2,
|
||||
"users": 33,
|
||||
"dateC": "2024-02-11",
|
||||
"comment": "Belle pensée."
|
||||
},
|
||||
{
|
||||
"id_comment": 8,
|
||||
"quote": 7,
|
||||
"users": 28,
|
||||
"dateC": "2024-02-07",
|
||||
"comment": "Très émouvant."
|
||||
},
|
||||
{
|
||||
"id_comment": 9,
|
||||
"quote": 1,
|
||||
"users": 48,
|
||||
"dateC": "2024-03-05",
|
||||
"comment": "Très motivant."
|
||||
},
|
||||
{
|
||||
"id_comment": 10,
|
||||
"quote": 16,
|
||||
"users": 14,
|
||||
"dateC": "2024-03-13",
|
||||
"comment": "Très motivant."
|
||||
},
|
||||
{
|
||||
"id_comment": 11,
|
||||
"quote": 10,
|
||||
"users": 9,
|
||||
"dateC": "2024-03-13",
|
||||
"comment": "Très touchant."
|
||||
},
|
||||
{
|
||||
"id_comment": 12,
|
||||
"quote": 4,
|
||||
"users": 44,
|
||||
"dateC": "2024-03-01",
|
||||
"comment": "Très touchant."
|
||||
},
|
||||
{
|
||||
"id_comment": 13,
|
||||
"quote": 9,
|
||||
"users": 8,
|
||||
"dateC": "2024-04-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 14,
|
||||
"quote": 3,
|
||||
"users": 49,
|
||||
"dateC": "2024-04-18",
|
||||
"comment": "Très émouvant."
|
||||
},
|
||||
{
|
||||
"id_comment": 15,
|
||||
"quote": 19,
|
||||
"users": 3,
|
||||
"dateC": "2024-04-07",
|
||||
"comment": "Très motivant."
|
||||
},
|
||||
{
|
||||
"id_comment": 16,
|
||||
"quote": 4,
|
||||
"users": 9,
|
||||
"dateC": "2024-04-25",
|
||||
"comment": "Très motivant."
|
||||
},
|
||||
{
|
||||
"id_comment": 17,
|
||||
"quote": 17,
|
||||
"users": 40,
|
||||
"dateC": "2024-05-04",
|
||||
"comment": "Très émouvant."
|
||||
},
|
||||
{
|
||||
"id_comment": 18,
|
||||
"quote": 6,
|
||||
"users": 21,
|
||||
"dateC": "2024-05-11",
|
||||
"comment": "Très poétique."
|
||||
},
|
||||
{
|
||||
"id_comment": 19,
|
||||
"quote": 16,
|
||||
"users": 3,
|
||||
"dateC": "2024-05-08",
|
||||
"comment": "Citation exceptionnelle."
|
||||
},
|
||||
{
|
||||
"id_comment": 20,
|
||||
"quote": 1,
|
||||
"users": 17,
|
||||
"dateC": "2024-05-04",
|
||||
"comment": "Très touchant."
|
||||
},
|
||||
{
|
||||
"id_comment": 21,
|
||||
"quote": 14,
|
||||
"users": 34,
|
||||
"dateC": "2024-06-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 22,
|
||||
"quote": 12,
|
||||
"users": 23,
|
||||
"dateC": "2024-06-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 23,
|
||||
"quote": 11,
|
||||
"users": 47,
|
||||
"dateC": "2024-06-05",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 24,
|
||||
"quote": 16,
|
||||
"users": 28,
|
||||
"dateC": "2024-06-07",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 25,
|
||||
"quote": 19,
|
||||
"users": 39,
|
||||
"dateC": "2024-07-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 26,
|
||||
"quote": 13,
|
||||
"users": 31,
|
||||
"dateC": "2024-07-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 27,
|
||||
"quote": 1,
|
||||
"users": 33,
|
||||
"dateC": "2024-07-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 28,
|
||||
"quote": 17,
|
||||
"users": 20,
|
||||
"dateC": "2024-07-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 29,
|
||||
"quote": 13,
|
||||
"users": 29,
|
||||
"dateC": "2024-08-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 30,
|
||||
"quote": 11,
|
||||
"users": 27,
|
||||
"dateC": "2024-08-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 31,
|
||||
"quote": 18,
|
||||
"users": 35,
|
||||
"dateC": "2024-08-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 32,
|
||||
"quote": 13,
|
||||
"users": 32,
|
||||
"dateC": "2024-08-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 33,
|
||||
"quote": 13,
|
||||
"users": 3,
|
||||
"dateC": "2024-09-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 34,
|
||||
"quote": 15,
|
||||
"users": 43,
|
||||
"dateC": "2024-09-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 35,
|
||||
"quote": 11,
|
||||
"users": 15,
|
||||
"dateC": "2024-09-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 36,
|
||||
"quote": 10,
|
||||
"users": 22,
|
||||
"dateC": "2024-09-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 37,
|
||||
"quote": 17,
|
||||
"users": 23,
|
||||
"dateC": "2024-10-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 38,
|
||||
"quote": 14,
|
||||
"users": 40,
|
||||
"dateC": "2024-10-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 39,
|
||||
"quote": 15,
|
||||
"users": 41,
|
||||
"dateC": "2024-10-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 40,
|
||||
"quote": 16,
|
||||
"users": 42,
|
||||
"dateC": "2024-10-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 41,
|
||||
"quote": 10,
|
||||
"users": 39,
|
||||
"dateC": "2024-11-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 42,
|
||||
"quote": 17,
|
||||
"users": 43,
|
||||
"dateC": "2024-11-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 43,
|
||||
"quote": 13,
|
||||
"users": 27,
|
||||
"dateC": "2024-11-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 44,
|
||||
"quote": 12,
|
||||
"users": 29,
|
||||
"dateC": "2024-11-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 45,
|
||||
"quote": 11,
|
||||
"users": 32,
|
||||
"dateC": "2024-12-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 46,
|
||||
"quote": 15,
|
||||
"users": 31,
|
||||
"dateC": "2024-12-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 47,
|
||||
"quote": 18,
|
||||
"users": 33,
|
||||
"dateC": "2024-12-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 48,
|
||||
"quote": 14,
|
||||
"users": 34,
|
||||
"dateC": "2024-12-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 49,
|
||||
"quote": 19,
|
||||
"users": 35,
|
||||
"dateC": "2024-12-05",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 50,
|
||||
"quote": 17,
|
||||
"users": 36,
|
||||
"dateC": "2024-12-06",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 51,
|
||||
"quote": 16,
|
||||
"users": 37,
|
||||
"dateC": "2024-12-07",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 52,
|
||||
"quote": 13,
|
||||
"users": 38,
|
||||
"dateC": "2024-12-08",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 53,
|
||||
"quote": 12,
|
||||
"users": 39,
|
||||
"dateC": "2024-12-09",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 54,
|
||||
"quote": 11,
|
||||
"users": 40,
|
||||
"dateC": "2024-12-10",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 55,
|
||||
"quote": 10,
|
||||
"users": 41,
|
||||
"dateC": "2024-12-11",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 56,
|
||||
"quote": 9,
|
||||
"users": 42,
|
||||
"dateC": "2024-12-12",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 57,
|
||||
"quote": 8,
|
||||
"users": 43,
|
||||
"dateC": "2024-12-13",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 58,
|
||||
"quote": 7,
|
||||
"users": 44,
|
||||
"dateC": "2024-12-14",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 59,
|
||||
"quote": 6,
|
||||
"users": 45,
|
||||
"dateC": "2024-12-15",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 60,
|
||||
"quote": 5,
|
||||
"users": 46,
|
||||
"dateC": "2024-12-16",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 61,
|
||||
"quote": 4,
|
||||
"users": 47,
|
||||
"dateC": "2024-12-17",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 62,
|
||||
"quote": 3,
|
||||
"users": 48,
|
||||
"dateC": "2024-12-18",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 63,
|
||||
"quote": 2,
|
||||
"users": 49,
|
||||
"dateC": "2024-12-19",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 64,
|
||||
"quote": 1,
|
||||
"users": 50,
|
||||
"dateC": "2024-12-20",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 65,
|
||||
"quote": 19,
|
||||
"users": 1,
|
||||
"dateC": "2024-12-21",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 66,
|
||||
"quote": 18,
|
||||
"users": 2,
|
||||
"dateC": "2024-12-22",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 67,
|
||||
"quote": 17,
|
||||
"users": 3,
|
||||
"dateC": "2024-12-23",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 68,
|
||||
"quote": 16,
|
||||
"users": 4,
|
||||
"dateC": "2024-12-24",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 69,
|
||||
"quote": 15,
|
||||
"users": 5,
|
||||
"dateC": "2024-12-25",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 70,
|
||||
"quote": 14,
|
||||
"users": 6,
|
||||
"dateC": "2024-12-26",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 71,
|
||||
"quote": 13,
|
||||
"users": 7,
|
||||
"dateC": "2024-12-27",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 72,
|
||||
"quote": 12,
|
||||
"users": 8,
|
||||
"dateC": "2024-12-28",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 73,
|
||||
"quote": 11,
|
||||
"users": 9,
|
||||
"dateC": "2024-01-01",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 74,
|
||||
"quote": 10,
|
||||
"users": 10,
|
||||
"dateC": "2024-01-02",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 75,
|
||||
"quote": 9,
|
||||
"users": 11,
|
||||
"dateC": "2024-01-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 76,
|
||||
"quote": 8,
|
||||
"users": 12,
|
||||
"dateC": "2024-01-04",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 77,
|
||||
"quote": 7,
|
||||
"users": 13,
|
||||
"dateC": "2024-01-05",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 78,
|
||||
"quote": 6,
|
||||
"users": 14,
|
||||
"dateC": "2024-01-06",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 79,
|
||||
"quote": 5,
|
||||
"users": 15,
|
||||
"dateC": "2024-01-07",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 80,
|
||||
"quote": 4,
|
||||
"users": 16,
|
||||
"dateC": "2024-01-08",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 81,
|
||||
"quote": 3,
|
||||
"users": 17,
|
||||
"dateC": "2024-01-09",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 82,
|
||||
"quote": 2,
|
||||
"users": 18,
|
||||
"dateC": "2024-01-10",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 83,
|
||||
"quote": 15,
|
||||
"users": 33,
|
||||
"dateC": "2024-06-24",
|
||||
"comment": "Citation exceptionnelle."
|
||||
},
|
||||
{
|
||||
"id_comment": 84,
|
||||
"quote": 19,
|
||||
"users": 15,
|
||||
"dateC": "2024-03-11",
|
||||
"comment": "Citation merveilleuse."
|
||||
},
|
||||
{
|
||||
"id_comment": 85,
|
||||
"quote": 4,
|
||||
"users": 16,
|
||||
"dateC": "2024-01-19",
|
||||
"comment": "Citation merveilleuse."
|
||||
},
|
||||
{
|
||||
"id_comment": 86,
|
||||
"quote": 10,
|
||||
"users": 20,
|
||||
"dateC": "2024-01-15",
|
||||
"comment": "Très émouvant."
|
||||
},
|
||||
{
|
||||
"id_comment": 87,
|
||||
"quote": 3,
|
||||
"users": 33,
|
||||
"dateC": "2024-12-17",
|
||||
"comment": "Très touchant."
|
||||
},
|
||||
{
|
||||
"id_comment": 88,
|
||||
"quote": 5,
|
||||
"users": 8,
|
||||
"dateC": "2024-07-01",
|
||||
"comment": "Citation exceptionnelle."
|
||||
},
|
||||
{
|
||||
"id_comment": 89,
|
||||
"quote": 13,
|
||||
"users": 28,
|
||||
"dateC": "2024-02-20",
|
||||
"comment": "Citation merveilleuse."
|
||||
},
|
||||
{
|
||||
"id_comment": 90,
|
||||
"quote": 18,
|
||||
"users": 24,
|
||||
"dateC": "2024-09-16",
|
||||
"comment": "Citation merveilleuse."
|
||||
},
|
||||
{
|
||||
"id_comment": 91,
|
||||
"quote": 17,
|
||||
"users": 43,
|
||||
"dateC": "2024-06-20",
|
||||
"comment": "Très réfléchi."
|
||||
},
|
||||
{
|
||||
"id_comment": 92,
|
||||
"quote": 13,
|
||||
"users": 36,
|
||||
"dateC": "2024-11-08",
|
||||
"comment": "Super citation !"
|
||||
},
|
||||
{
|
||||
"id_comment": 93,
|
||||
"quote": 19,
|
||||
"users": 41,
|
||||
"dateC": "2024-01-20",
|
||||
"comment": "Super citation !"
|
||||
},
|
||||
{
|
||||
"id_comment": 94,
|
||||
"quote": 13,
|
||||
"users": 10,
|
||||
"dateC": "2024-05-03",
|
||||
"comment": "Citation magnifique."
|
||||
},
|
||||
{
|
||||
"id_comment": 95,
|
||||
"quote": 4,
|
||||
"users": 49,
|
||||
"dateC": "2024-07-01",
|
||||
"comment": "Citation profonde."
|
||||
},
|
||||
{
|
||||
"id_comment": 96,
|
||||
"quote": 16,
|
||||
"users": 21,
|
||||
"dateC": "2024-11-08",
|
||||
"comment": "Citation merveilleuse."
|
||||
},
|
||||
{
|
||||
"id_comment": 97,
|
||||
"quote": 14,
|
||||
"users": 27,
|
||||
"dateC": "2024-11-20",
|
||||
"comment": "Citation puissante."
|
||||
},
|
||||
{
|
||||
"id_comment": 98,
|
||||
"quote": 4,
|
||||
"users": 39,
|
||||
"dateC": "2024-12-11",
|
||||
"comment": "Très motivant."
|
||||
},
|
||||
{
|
||||
"id_comment": 99,
|
||||
"quote": 9,
|
||||
"users": 26,
|
||||
"dateC": "2024-09-27",
|
||||
"comment": "Paroles sages."
|
||||
},
|
||||
{
|
||||
"id_comment": 100,
|
||||
"quote": 3,
|
||||
"users": 42,
|
||||
"dateC": "2024-02-12",
|
||||
"comment": "Citation merveilleuse."
|
||||
}
|
||||
]
|
@ -0,0 +1,9 @@
|
||||
[
|
||||
{
|
||||
"id_comment": 1,
|
||||
"quote": 1,
|
||||
"users": 1,
|
||||
"dateC":"2024-10-10",
|
||||
"comment": "coucou"
|
||||
}
|
||||
]
|
@ -1,261 +0,0 @@
|
||||
[
|
||||
{
|
||||
"LogLevel": 1,
|
||||
"Message": "Logs de test"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "User testeur1 is no longer an administator"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "User dev is now administrator"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Modification of user testeur"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Delete user jane_smith"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Editing the quote C\u0027est le choix qui fait l\u0027homme, non le destin."
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
<<<<<<< HEAD
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
},
|
||||
{
|
||||
"LogLevel": 2,
|
||||
"Message": "Random change of quote of the day"
|
||||
=======
|
||||
>>>>>>> c9a9e592d46e0842b954daa1f9b008f8302e78ad
|
||||
}
|
||||
]
|
Loading…
Reference in new issue