En första justering , det fanns många referenser kvar till GreadyPoang...
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
//using GreadyPoang.DataLayer;
|
||||
//using Gready_Poang.DataLayer;
|
||||
|
||||
namespace Common.Library;
|
||||
public class ViewModelBase : CommonBase
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.Common;
|
||||
namespace Gready_Poang.Common;
|
||||
|
||||
public class BehaviorBase<T> : Behavior<T> where T : BindableObject
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace GreadyPoang.Common;
|
||||
namespace Gready_Poang.Common;
|
||||
|
||||
public class DigitsOnlyBehavior : Behavior<Entry?>
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace GreadyPoang.Common;
|
||||
namespace Gready_Poang.Common;
|
||||
public class EventToCommandBehavior : BehaviorBase<VisualElement>
|
||||
{
|
||||
public required string EventName { get; set; }
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GreadyPoang.DataLayer;
|
||||
namespace Gready_Poang.DataLayer;
|
||||
|
||||
public class CombinedRepository : ICombinedRepository
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GreadyPoang.DataLayer;
|
||||
namespace Gready_Poang.DataLayer;
|
||||
|
||||
public class GamePointRepository : IRepository<GamePoint>
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GreadyPoang.DataLayer;
|
||||
namespace Gready_Poang.DataLayer;
|
||||
|
||||
public class GameRoundRepository : IRepository<GameRound>
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GreadyPoang.DataLayer;
|
||||
namespace Gready_Poang.DataLayer;
|
||||
|
||||
public class ParticipantRepository : IRepository<Participant>
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace GreadyPoang.DataLayer.Database;
|
||||
namespace Gready_Poang.DataLayer.Database;
|
||||
|
||||
public class DataContext : DbContext
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
|
||||
namespace GreadyPoang.DataLayer;
|
||||
namespace Gready_Poang.DataLayer;
|
||||
|
||||
public interface ICombinedRepository
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// <auto-generated />
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250901152226_initialCreate")]
|
||||
@ -19,7 +19,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class initialCreate : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250902115700_GamePointsTable")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class GamePointsTable : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250902120934_GamePointsTableStaticSeed")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class GamePointsTableStaticSeed : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250902122130_FixDateTimeSeed")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class FixDateTimeSeed : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250903062957_FixHeatToRoundParameter")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class FixHeatToRoundParameter : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250903070200_FixHeatToRoundParams")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class FixHeatToRoundParams : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250903074537_AddedStatusEnum")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddedStatusEnum : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250903195147_AddedTableGameRounds")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -91,7 +91,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
|
||||
{
|
||||
b.Property<int>("GameRoundId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -128,7 +128,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddedTableGameRounds : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250903195935_ChangedUpdateOrderInSeeding")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -91,7 +91,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
|
||||
{
|
||||
b.Property<int>("GameRoundId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -128,7 +128,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class ChangedUpdateOrderInSeeding : Migration
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
[Migration("20250914064850_statusfieldmove")]
|
||||
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
|
||||
{
|
||||
b.Property<int>("GameRoundId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -127,7 +127,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class statusfieldmove : Migration
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace GreadyPoang.DataLayer.Migrations
|
||||
namespace Gready_Poang.DataLayer.Migrations
|
||||
{
|
||||
[DbContext(typeof(DataContext))]
|
||||
partial class DataContextModelSnapshot : ModelSnapshot
|
||||
@ -17,7 +17,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
|
||||
{
|
||||
b.Property<int>("GamePointId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -81,7 +81,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
|
||||
{
|
||||
b.Property<int>("GameRoundId")
|
||||
.ValueGeneratedOnAdd()
|
||||
@ -124,7 +124,7 @@ namespace GreadyPoang.DataLayer.Migrations
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
|
||||
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
|
||||
{
|
||||
b.Property<int>("ParticipantId")
|
||||
.ValueGeneratedOnAdd()
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Common.Library;
|
||||
using SQLite;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
[Table("GamePoint")]
|
||||
public class GamePoint : EntityBase
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Common.Library;
|
||||
using SQLite;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
|
||||
|
||||
[Table("GameRound")]
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Common.Library;
|
||||
using SQLite;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
[Table("Participants")]
|
||||
public class Participant : EntityBase
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
|
||||
public enum GamePointStatus
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Common.Library;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
|
||||
public class PlayerColumn : EntityBase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Common.Library;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
|
||||
public class RoundBuilderElement : EntityBase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Common.Library;
|
||||
|
||||
namespace GreadyPoang.EntityLayer;
|
||||
namespace Gready_Poang.EntityLayer;
|
||||
|
||||
public class RoundBuilderGroup : EntityBase
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Hosting; // Replace with your actual namespace
|
||||
|
||||
@ -22,12 +22,12 @@ class Program
|
||||
.ConfigureServices((_, services) =>
|
||||
{
|
||||
var MauiDataPath = string.Empty;
|
||||
MauiDataPath = File.ReadAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_GreadyPoang.txt"));
|
||||
MauiDataPath = File.ReadAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_Gready_Poang.txt"));
|
||||
var dbPath = Path.Combine(MauiDataPath, "PoangDB.db");
|
||||
services.AddDbContext<DataContext>(options =>
|
||||
options.UseSqlite($"Data Source={dbPath}"));
|
||||
});
|
||||
}
|
||||
|
||||
// dotnet ef migrations add FixHeatToRoundParams --project GreadyPoang.DataLayer --startup-project GreadyPoang.Migrations
|
||||
// dotnet ef database update --project GreadyPoang.DataLayer --startup-project GreadyPoang.Migrations
|
||||
// dotnet ef migrations add FixHeatToRoundParams --project Gready_Poang.DataLayer --startup-project Gready_Poang.Migrations
|
||||
// dotnet ef database update --project Gready_Poang.DataLayer --startup-project Gready_Poang.Migrations
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
|
||||
namespace GreadyPoang.Services;
|
||||
namespace Gready_Poang.Services;
|
||||
|
||||
public class ObjectMessageService : IObjectMessageService
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
|
||||
namespace GreadyPoang.Services
|
||||
namespace Gready_Poang.Services
|
||||
{
|
||||
public interface IObjectMessageService
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.Core;
|
||||
namespace Gready_Poang.Core;
|
||||
|
||||
public interface INavigationService
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.Core;
|
||||
namespace Gready_Poang.Core;
|
||||
|
||||
public interface IPageFactory
|
||||
{
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
namespace GreadyPoang.Core;
|
||||
namespace Gready_Poang.Core;
|
||||
|
||||
public interface ISplashService
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Common.Library;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class AppShellViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Services;
|
||||
using Gready_Poang.Services;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class MainPageViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class MethodSharingService : ViewModelBase, IMethodSharingService<Participant>
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class ParticipantViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.DataLayer;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.DataLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class RoundRunningViewModel : ViewModelBase
|
||||
{
|
||||
@ -142,6 +142,7 @@ public class RoundRunningViewModel : ViewModelBase
|
||||
var localElements = _combined.roundBuilderElementsTotalById(_objectMessage.CurrentGroup.GameRoundId);
|
||||
|
||||
FillupResultTable(localElements);
|
||||
|
||||
foreach (var col in _playerColumns)
|
||||
{
|
||||
RoundElements.FirstOrDefault(e => e.ParticipantId == col.PlayerId).GameRegPoints = col.PlayerPoints;
|
||||
@ -270,7 +271,9 @@ public class RoundRunningViewModel : ViewModelBase
|
||||
{
|
||||
var player = new PlayerColumn
|
||||
{
|
||||
PlayerName = element.ParticipantName
|
||||
PlayerName = element.ParticipantName,
|
||||
PlayerId = element.ParticipantId,
|
||||
PlayerPoints = 0
|
||||
};
|
||||
|
||||
for (int i = 0; i < slumper.Next(6); i++)
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.DataLayer;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.DataLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class RoundStartingViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Common.Library;
|
||||
|
||||
namespace GreadyPoang.ViewModelLayer;
|
||||
namespace Gready_Poang.ViewModelLayer;
|
||||
|
||||
public class SplashViewModel : ViewModelBase
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<?xml version = "1.0" encoding = "UTF-8" ?>
|
||||
<Application xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:local="clr-namespace:GreadyPoang"
|
||||
x:Class="GreadyPoang.App">
|
||||
xmlns:local="clr-namespace:Gready_Poang"
|
||||
x:Class="Gready_Poang.App">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public partial class App : Application
|
||||
{
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Shell
|
||||
x:Class="GreadyPoang.AppShell"
|
||||
x:Class="Gready_Poang.AppShell"
|
||||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:vm ="clr-namespace:GreadyPoang.ViewModelLayer;assembly=GreadyPoang.ViewModelLayer"
|
||||
xmlns:views="clr-namespace:GreadyPoang.Views"
|
||||
xmlns:pages="clr-namespace:GreadyPoang.Pages"
|
||||
xmlns:local="clr-namespace:GreadyPoang"
|
||||
Title="GreadyPoang"
|
||||
xmlns:vm ="clr-namespace:Gready_Poang.ViewModelLayer;assembly=Gready_Poang.ViewModelLayer"
|
||||
xmlns:views="clr-namespace:Gready_Poang.Views"
|
||||
xmlns:pages="clr-namespace:Gready_Poang.Pages"
|
||||
xmlns:local="clr-namespace:Gready_Poang"
|
||||
Title="Gready_Poang"
|
||||
Shell.TitleColor="LightYellow"
|
||||
x:DataType="vm:AppShellViewModel"
|
||||
Shell.BackgroundColor="CadetBlue">
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
public partial class AppShell : Shell
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="GreadyPoang.BasePage"
|
||||
xmlns:viewsPartial="clr-namespace:GreadyPoang.ViewsPartial"
|
||||
x:Class="Gready_Poang.BasePage"
|
||||
xmlns:viewsPartial="clr-namespace:Gready_Poang.ViewsPartial"
|
||||
x:Name="Root">
|
||||
<AbsoluteLayout>
|
||||
<!-- Huvudinnehåll -->
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using Gready_Poang.CommandClasses;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public partial class BasePage : ContentPage
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class AppShellViewModelCommands : AppShellViewModel
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.Services;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.Services;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class MainPageViewModelCommands : MainPageViewModel
|
||||
{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
using System.Windows.Input;
|
||||
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class ParticipantViewModelCommands : ParticipantViewModel
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.DataLayer;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.DataLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class RoundRunningViewModelCommands : RoundRunningViewModel
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.DataLayer;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.Services;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.DataLayer;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.Services;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class RoundStartingViewModelCommands : RoundStartingViewModel
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
|
||||
namespace GreadyPoang.CommandClasses;
|
||||
namespace Gready_Poang.CommandClasses;
|
||||
|
||||
public class SplashViewModelCommands : SplashViewModel
|
||||
{
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.Core;
|
||||
namespace Gready_Poang.Core;
|
||||
|
||||
public class NavigationService : INavigationService
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.Pages;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.Pages;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public class PageFactory : IPageFactory
|
||||
{
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.InterFaces;
|
||||
using Gready_Poang.InterFaces;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public class ServiceLocator : IServiceLocator
|
||||
{
|
||||
|
||||
@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace GreadyPoang.InterFaces;
|
||||
namespace Gready_Poang.InterFaces;
|
||||
|
||||
public interface IServiceLocator
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Core;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Core;
|
||||
|
||||
namespace GreadyPoang.LocalServices;
|
||||
namespace Gready_Poang.LocalServices;
|
||||
|
||||
public class SplashService : ISplashService
|
||||
{
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:partial="clr-namespace:GreadyPoang.ViewsPartial"
|
||||
x:Class="GreadyPoang.MainPage"
|
||||
xmlns:vm ="clr-namespace:GreadyPoang.CommandClasses"
|
||||
xmlns:partial="clr-namespace:Gready_Poang.ViewsPartial"
|
||||
x:Class="Gready_Poang.MainPage"
|
||||
xmlns:vm ="clr-namespace:Gready_Poang.CommandClasses"
|
||||
x:DataType="vm:MainPageViewModelCommands"
|
||||
Background="LightCyan"
|
||||
Title="{StaticResource ApplicationTitle}">
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using Gready_Poang.CommandClasses;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public partial class MainPage : ContentPage
|
||||
{
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
using Common.Library;
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.DataLayer;
|
||||
using GreadyPoang.DataLayer.Database;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using GreadyPoang.InterFaces;
|
||||
using GreadyPoang.LocalServices;
|
||||
using GreadyPoang.Services;
|
||||
using GreadyPoang.ViewModelLayer;
|
||||
using GreadyPoang.Views;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.DataLayer;
|
||||
using Gready_Poang.DataLayer.Database;
|
||||
using Gready_Poang.EntityLayer;
|
||||
using Gready_Poang.InterFaces;
|
||||
using Gready_Poang.LocalServices;
|
||||
using Gready_Poang.Services;
|
||||
using Gready_Poang.ViewModelLayer;
|
||||
using Gready_Poang.Views;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace GreadyPoang;
|
||||
namespace Gready_Poang;
|
||||
|
||||
public static class MauiProgram
|
||||
{
|
||||
@ -33,9 +33,9 @@ public static class MauiProgram
|
||||
builder.Services.AddDbContext<DataContext>(options =>
|
||||
{
|
||||
var MauiDataPath = FileSystem.Current.AppDataDirectory;
|
||||
if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_GreadyPoang.txt"))) ;
|
||||
if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_Gready_Poang.txt"))) ;
|
||||
{
|
||||
File.WriteAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_GreadyPoang.txt"), MauiDataPath);
|
||||
File.WriteAllText(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "MauiDataPath_Gready_Poang.txt"), MauiDataPath);
|
||||
}
|
||||
var dbPath = Path.Combine(MauiDataPath, "PoangDB.db");
|
||||
options.UseSqlite($"Data Source={dbPath}");
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Views;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Views;
|
||||
|
||||
namespace GreadyPoang.Pages;
|
||||
namespace Gready_Poang.Pages;
|
||||
|
||||
public class ParticipantListPage : BasePage
|
||||
{
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Core;
|
||||
using GreadyPoang.Views;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Core;
|
||||
using Gready_Poang.Views;
|
||||
|
||||
namespace GreadyPoang.Pages;
|
||||
namespace Gready_Poang.Pages;
|
||||
|
||||
public class RoundRunningPage : BasePage
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.Views;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.Views;
|
||||
|
||||
namespace GreadyPoang.Pages;
|
||||
namespace Gready_Poang.Pages;
|
||||
|
||||
public class RoundStartingPage : BasePage
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
using Android.Content.PM;
|
||||
using Android.OS;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)]
|
||||
public class MainActivity : MauiAppCompatActivity
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using Android.App;
|
||||
using Android.Runtime;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
[Application]
|
||||
public class MainApplication : MauiApplication
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Foundation;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@ using System;
|
||||
using Microsoft.Maui;
|
||||
using Microsoft.Maui.Hosting;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
internal class Program : MauiApplication
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest package="maui-application-id-placeholder" version="0.0.0" api-version="9" xmlns="http://tizen.org/ns/packages">
|
||||
<profile name="common" />
|
||||
<ui-application appid="maui-application-id-placeholder" exec="GreadyPoang.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<ui-application appid="maui-application-id-placeholder" exec="Gready_Poang.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
|
||||
<label>maui-application-title-placeholder</label>
|
||||
<icon>maui-appicon-placeholder</icon>
|
||||
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<maui:MauiWinUIApplication
|
||||
x:Class="GreadyPoang.WinUI.App"
|
||||
x:Class="Gready_Poang.WinUI.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:maui="using:Microsoft.Maui"
|
||||
xmlns:local="using:GreadyPoang.WinUI">
|
||||
xmlns:local="using:Gready_Poang.WinUI">
|
||||
|
||||
</maui:MauiWinUIApplication>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// To learn more about WinUI, the WinUI project structure,
|
||||
// and more about our project templates, see: http://aka.ms/winui-project-info.
|
||||
|
||||
namespace GreadyPoang.WinUI
|
||||
namespace Gready_Poang.WinUI
|
||||
{
|
||||
/// <summary>
|
||||
/// Provides application-specific behavior to supplement the default Application class.
|
||||
|
||||
@ -6,12 +6,12 @@
|
||||
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
|
||||
IgnorableNamespaces="uap rescap">
|
||||
|
||||
<Identity Name="com.idoit4u.GreadyPoang"
|
||||
<Identity Name="com.idoit4u.Gready_Poang"
|
||||
Publisher="CN=Idoit4u"
|
||||
Version="1.0.0.0" />
|
||||
|
||||
<Properties>
|
||||
<DisplayName>GreadyPoang</DisplayName>
|
||||
<DisplayName>Gready_Poang</DisplayName>
|
||||
<PublisherDisplayName>Idoit4u</PublisherDisplayName>
|
||||
</Properties>
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="GreadyPoang.WinUI.app"/>
|
||||
<assemblyIdentity version="1.0.0.0" name="Gready_Poang.WinUI.app"/>
|
||||
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using Foundation;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
[Register("AppDelegate")]
|
||||
public class AppDelegate : MauiUIApplicationDelegate
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using ObjCRuntime;
|
||||
using UIKit;
|
||||
|
||||
namespace GreadyPoang
|
||||
namespace Gready_Poang
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:partial="clr-namespace:GreadyPoang.ViewsPartial"
|
||||
xmlns:vm="clr-namespace:GreadyPoang.CommandClasses"
|
||||
xmlns:model="clr-namespace:GreadyPoang.EntityLayer;assembly=GreadyPoang.EntityLayer"
|
||||
x:Class="GreadyPoang.Views.ParticipantListView"
|
||||
xmlns:partial="clr-namespace:Gready_Poang.ViewsPartial"
|
||||
xmlns:vm="clr-namespace:Gready_Poang.CommandClasses"
|
||||
xmlns:model="clr-namespace:Gready_Poang.EntityLayer;assembly=Gready_Poang.EntityLayer"
|
||||
x:Class="Gready_Poang.Views.ParticipantListView"
|
||||
x:DataType="vm:ParticipantViewModelCommands"
|
||||
x:Name="ParticipantListPage">
|
||||
<!--Title="Deltagar Lista"-->
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using Gready_Poang.CommandClasses;
|
||||
|
||||
namespace GreadyPoang.Views;
|
||||
namespace Gready_Poang.Views;
|
||||
|
||||
public partial class ParticipantListView : ContentView
|
||||
{
|
||||
|
||||
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:partial="clr-namespace:GreadyPoang.ViewsPartial"
|
||||
x:Class="GreadyPoang.Views.RoundRunningView"
|
||||
xmlns:vm ="clr-namespace:GreadyPoang.CommandClasses"
|
||||
xmlns:behaviors="clr-namespace:GreadyPoang.Common;assembly=GreadyPoang.Common"
|
||||
xmlns:local="clr-namespace:GreadyPoang.EntityLayer;assembly=GreadyPoang.EntityLayer"
|
||||
xmlns:model="clr-namespace:GreadyPoang.EntityLayer;assembly=GreadyPoang.EntityLayer"
|
||||
xmlns:partial="clr-namespace:Gready_Poang.ViewsPartial"
|
||||
x:Class="Gready_Poang.Views.RoundRunningView"
|
||||
xmlns:vm ="clr-namespace:Gready_Poang.CommandClasses"
|
||||
xmlns:behaviors="clr-namespace:Gready_Poang.Common;assembly=Gready_Poang.Common"
|
||||
xmlns:local="clr-namespace:Gready_Poang.EntityLayer;assembly=Gready_Poang.EntityLayer"
|
||||
xmlns:model="clr-namespace:Gready_Poang.EntityLayer;assembly=Gready_Poang.EntityLayer"
|
||||
x:DataType="vm:RoundRunningViewModelCommands">
|
||||
<!--Title="RoundRunningView"-->
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using GreadyPoang.EntityLayer;
|
||||
using Gready_Poang.CommandClasses;
|
||||
using Gready_Poang.EntityLayer;
|
||||
|
||||
namespace GreadyPoang.Views;
|
||||
namespace Gready_Poang.Views;
|
||||
|
||||
public partial class RoundRunningView : ContentView
|
||||
{
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
xmlns:partial="clr-namespace:GreadyPoang.ViewsPartial"
|
||||
x:Class="GreadyPoang.Views.RoundStartingView"
|
||||
xmlns:vm="clr-namespace:GreadyPoang.CommandClasses"
|
||||
xmlns:local="clr-namespace:GreadyPoang.EntityLayer;assembly=GreadyPoang.EntityLayer"
|
||||
xmlns:model="clr-namespace:GreadyPoang.EntityLayer;assembly=GreadyPoang.EntityLayer"
|
||||
xmlns:partial="clr-namespace:Gready_Poang.ViewsPartial"
|
||||
x:Class="Gready_Poang.Views.RoundStartingView"
|
||||
xmlns:vm="clr-namespace:Gready_Poang.CommandClasses"
|
||||
xmlns:local="clr-namespace:Gready_Poang.EntityLayer;assembly=Gready_Poang.EntityLayer"
|
||||
xmlns:model="clr-namespace:Gready_Poang.EntityLayer;assembly=Gready_Poang.EntityLayer"
|
||||
x:DataType="vm:RoundStartingViewModelCommands"
|
||||
x:Name="GameRoundStartingPage">
|
||||
<!--Title="Starta ny Runda"-->
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using Gready_Poang.CommandClasses;
|
||||
|
||||
namespace GreadyPoang.Views;
|
||||
namespace Gready_Poang.Views;
|
||||
|
||||
public partial class RoundStartingView : ContentView
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="GreadyPoang.ViewsPartial.HeaderView">
|
||||
x:Class="Gready_Poang.ViewsPartial.HeaderView">
|
||||
<VerticalStackLayout>
|
||||
<Label
|
||||
Text="{Binding ViewTitle}"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
namespace GreadyPoang.ViewsPartial;
|
||||
namespace Gready_Poang.ViewsPartial;
|
||||
|
||||
public partial class HeaderView : ContentView
|
||||
{
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
<!-- Views/SplashView.xaml -->
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="GreadyPoang.ViewsPartial.SplashView"
|
||||
xmlns:vm="clr-namespace:GreadyPoang.CommandClasses"
|
||||
x:Class="Gready_Poang.ViewsPartial.SplashView"
|
||||
xmlns:vm="clr-namespace:Gready_Poang.CommandClasses"
|
||||
x:DataType="vm:SplashViewModelCommands">
|
||||
<!--IsVisible="{Binding IsSplashVisible}">-->
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
using GreadyPoang.CommandClasses;
|
||||
using Gready_Poang.CommandClasses;
|
||||
|
||||
namespace GreadyPoang.ViewsPartial;
|
||||
namespace Gready_Poang.ViewsPartial;
|
||||
|
||||
public partial class SplashView : ContentView
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user