diff --git a/src/Umbraco.Core/Composing/BuilderCollectionBase.cs b/src/Umbraco.Core/Composing/BuilderCollectionBase.cs index ffacd89cff..722a6efca0 100644 --- a/src/Umbraco.Core/Composing/BuilderCollectionBase.cs +++ b/src/Umbraco.Core/Composing/BuilderCollectionBase.cs @@ -10,9 +10,8 @@ public abstract class BuilderCollectionBase : IBuilderCollection { private readonly LazyReadOnlyCollection _items; - /// Initializes a new instance of the - /// - /// with items. + /// + /// Initializes a new instance of the with items. /// /// The items. public BuilderCollectionBase(Func> items) => _items = new LazyReadOnlyCollection(items); diff --git a/src/Umbraco.Core/Configuration/Models/SmtpSettings.cs b/src/Umbraco.Core/Configuration/Models/SmtpSettings.cs index 5a9ec1b94f..7d5c126542 100644 --- a/src/Umbraco.Core/Configuration/Models/SmtpSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/SmtpSettings.cs @@ -12,7 +12,7 @@ namespace Umbraco.Cms.Core.Configuration.Models; /// Matches MailKit.Security.SecureSocketOptions and defined locally to avoid having to take /// a dependency on this external library into Umbraco.Core. /// -/// +/// public enum SecureSocketOptions { /// diff --git a/src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs b/src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs index 280d7ce492..6f735a003c 100644 --- a/src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs +++ b/src/Umbraco.Core/DependencyInjection/UmbracoBuilder.Collections.cs @@ -204,12 +204,20 @@ public static partial class UmbracoBuilderExtensions => builder.WithCollectionBuilder(); /// + /// Gets the partial view snippets collection builder. + /// + /// The builder. public static PartialViewSnippetCollectionBuilder? PartialViewSnippets(this IUmbracoBuilder builder) => builder.WithCollectionBuilder(); + /// + /// Gets the partial view macro snippets collection builder. + /// + /// The builder. public static PartialViewMacroSnippetCollectionBuilder? PartialViewMacroSnippets(this IUmbracoBuilder builder) => builder.WithCollectionBuilder(); + /// /// Gets the cache refreshers collection builder. /// /// The builder. diff --git a/src/Umbraco.Core/Models/Blocks/BlockListItem.cs b/src/Umbraco.Core/Models/Blocks/BlockListItem.cs index 0c3f1b55e3..6ccc4080e2 100644 --- a/src/Umbraco.Core/Models/Blocks/BlockListItem.cs +++ b/src/Umbraco.Core/Models/Blocks/BlockListItem.cs @@ -9,7 +9,7 @@ namespace Umbraco.Cms.Core.Models.Blocks; /// /// Represents a layout item for the Block List editor. /// -/// +/// [DataContract(Name = "block", Namespace = "")] public class BlockListItem : IBlockReference { @@ -74,7 +74,7 @@ public class BlockListItem : IBlockReference /// The type of the content. -/// +/// public class BlockListItem : BlockListItem where T : IPublishedElement { @@ -103,7 +103,7 @@ public class BlockListItem : BlockListItem /// /// The type of the content. /// The type of the settings. -/// +/// public class BlockListItem : BlockListItem where TContent : IPublishedElement where TSettings : IPublishedElement diff --git a/src/Umbraco.Core/Models/Range.cs b/src/Umbraco.Core/Models/Range.cs index 78d49ad851..5be2d068d4 100644 --- a/src/Umbraco.Core/Models/Range.cs +++ b/src/Umbraco.Core/Models/Range.cs @@ -6,7 +6,7 @@ namespace Umbraco.Cms.Core.Models; /// Represents a range with a minimum and maximum value. /// /// The type of the minimum and maximum values. -/// +/// public class Range : IEquatable> where T : IComparable {