public StartupTasksHealthCheck(StartupTaskContext context) { _context = context; }
public StartupTasksMiddleware(StartupTaskContext context, RequestDelegate next) { _context = context; _next = next; }
/// <summary> /// The default constructorl. /// </summary> /// <param name="startupTaskContext">The asynchronous context.</param> /// <param name="clusterClient">The cluster client to connect to Orleans cluster asynchronously.</param> /// <param name="logger">The logger to use to log operations.</param> public ClusterClientStartupTask(StartupTaskContext startupTaskContext, IClusterClient clusterClient, ILogger <ClusterClientStartupTask> logger) { StartupContext = startupTaskContext ?? throw new ArgumentNullException(nameof(startupTaskContext)); ClusterClient = clusterClient ?? throw new ArgumentNullException(nameof(clusterClient)); Logger = logger ?? throw new ArgumentNullException(nameof(logger)); }