Skip to content

Commit ffb02cf

Browse files
committed
Split YarpResourceLifecycleHook constructor on multiple lines
1 parent ce1abc5 commit ffb02cf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/Aspirant.Hosting.Yarp/YarpResource.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ public class YarpResource(string name) : WebApplicationResource(name)
1919
internal string? ConfigurationSectionName { get; set; }
2020
}
2121

22-
internal class YarpResourceLifecycleHook(IHostEnvironment hostEnvironment, DistributedApplicationExecutionContext executionContext, ResourceNotificationService resourceNotificationService, ResourceLoggerService resourceLoggerService) : WebApplicationResourceLifecycleHook<YarpResource>(hostEnvironment, executionContext, resourceNotificationService, resourceLoggerService)
22+
internal class YarpResourceLifecycleHook(
23+
IHostEnvironment hostEnvironment,
24+
DistributedApplicationExecutionContext executionContext,
25+
ResourceNotificationService resourceNotificationService,
26+
ResourceLoggerService resourceLoggerService)
27+
: WebApplicationResourceLifecycleHook<YarpResource>(hostEnvironment, executionContext, resourceNotificationService, resourceLoggerService)
2328
{
2429
protected override string ResourceTypeName { get; } = "Yarp";
2530

0 commit comments

Comments
 (0)