diff --git a/Plk.Blazor.DragDrop.Demo/Plk.Blazor.DragDrop.Demo.csproj b/Plk.Blazor.DragDrop.Demo/Plk.Blazor.DragDrop.Demo.csproj index 4d3f487..4b42d5d 100644 --- a/Plk.Blazor.DragDrop.Demo/Plk.Blazor.DragDrop.Demo.csproj +++ b/Plk.Blazor.DragDrop.Demo/Plk.Blazor.DragDrop.Demo.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + net5.0 f648770a-26a2-462b-87a0-17835ea631cb diff --git a/Plk.Blazor.DragDrop.Test/Plk.Blazor.DragDrop.Test.csproj b/Plk.Blazor.DragDrop.Test/Plk.Blazor.DragDrop.Test.csproj index 01cace5..17d3cb1 100644 --- a/Plk.Blazor.DragDrop.Test/Plk.Blazor.DragDrop.Test.csproj +++ b/Plk.Blazor.DragDrop.Test/Plk.Blazor.DragDrop.Test.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1 + net5.0 3.0 diff --git a/Plk.Blazor.DragDrop/DropActions/DropActionContext.cs b/Plk.Blazor.DragDrop/DropActions/DropActionContext.cs index 971f21e..4df996a 100644 --- a/Plk.Blazor.DragDrop/DropActions/DropActionContext.cs +++ b/Plk.Blazor.DragDrop/DropActions/DropActionContext.cs @@ -4,10 +4,10 @@ namespace Plk.Blazor.DragDrop.DropActions { public class DropActionContext { - public Dropzone Sender { get; set; } - public TItem ActiveItem { get; set; } - public IList SourceItems { get; set; } - public IList TargetItems { get; set; } - public int? TargetItemIndex { get; set; } + public Dropzone Sender { get; init; } + public TItem ActiveItem { get; init; } + public IList SourceItems { get; init; } + public IList TargetItems { get; init; } + public int? TargetItemIndex { get; init; } } } diff --git a/Plk.Blazor.DragDrop/Plk.Blazor.DragDrop.csproj b/Plk.Blazor.DragDrop/Plk.Blazor.DragDrop.csproj index 3da9018..0253301 100644 --- a/Plk.Blazor.DragDrop/Plk.Blazor.DragDrop.csproj +++ b/Plk.Blazor.DragDrop/Plk.Blazor.DragDrop.csproj @@ -1,7 +1,7 @@ - + - netstandard2.1 + net5.0 3.0 2.2.2 blazor-dragdrop