elsa-core/src/modules/Elsa.Http/Extensions/ModuleExtensions.cs
Sipke Schoorstra c63369b567 Add system namespaces
For some reason my tooling no longer sees the global usings.
2023-10-20 09:50:57 +02:00

21 lines
544 B
C#

using System;
using Elsa.Features.Services;
using Elsa.Http.Features;
// ReSharper disable once CheckNamespace
namespace Elsa.Extensions;
/// <summary>
/// Provides extensions to install the <see cref="HttpFeature"/> feature.
/// </summary>
public static class ModuleExtensions
{
/// <summary>
/// Install the <see cref="HttpFeature"/> feature.
/// </summary>
public static IModule UseHttp(this IModule module, Action<HttpFeature>? configure = default)
{
module.Configure(configure);
return module;
}
}