diff --git a/src/OrchardCore/OrchardCore.Infrastructure.Abstractions/Settings/SiteServiceExtensions.cs b/src/OrchardCore/OrchardCore.Infrastructure.Abstractions/Settings/SiteServiceExtensions.cs index 088e13e1c4a..4ac36da4716 100644 --- a/src/OrchardCore/OrchardCore.Infrastructure.Abstractions/Settings/SiteServiceExtensions.cs +++ b/src/OrchardCore/OrchardCore.Infrastructure.Abstractions/Settings/SiteServiceExtensions.cs @@ -4,6 +4,12 @@ namespace OrchardCore.Settings; public static class SiteServiceExtensions { + /// + /// Gets an instance of the specified settings if it exists. + /// + /// The type of the settings to attempt to get. + /// The site service. + /// An instance of the given type if one exists. public static async Task GetSettingsAsync(this ISiteService siteService) where T : new() => (await siteService.GetSiteSettingsAsync()).As(); }