diff --git a/src/OrchardCore.Modules/OrchardCore.Placements/Models/PlacementsDocument.cs b/src/OrchardCore.Modules/OrchardCore.Placements/Models/PlacementsDocument.cs index 5ceab7e13c9..98412581b48 100644 --- a/src/OrchardCore.Modules/OrchardCore.Placements/Models/PlacementsDocument.cs +++ b/src/OrchardCore.Modules/OrchardCore.Placements/Models/PlacementsDocument.cs @@ -7,6 +7,6 @@ namespace OrchardCore.Placements.Models { public class PlacementsDocument : Document { - public Dictionary Placements { get; } = new Dictionary(StringComparer.OrdinalIgnoreCase); + public Dictionary Placements { get; init; } = new(StringComparer.OrdinalIgnoreCase); } }