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