You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allowing AddReactiveDimmer to be used on ForLights (#227)
* Dimmers are not possible to be configured per light.
* Grouping dimmers by time between steps
* Using only relevant dimmers in the dimming context.
* Using the options of a group rather than one option for all dimmers.
* Passing light context through node and pipeline libraries.
* Adding pipeline context to pipeline lights.
varcontext=sp.GetService<LightPipelineContext>()??thrownewInvalidOperationException($"{nameof(HandleExternalLightStateChanges)} can only be applies to reactive nodes hosted in a pipeline.");
@@ -49,13 +49,13 @@ public IPipeline<LightTransition> CreateLightPipeline<TLight>(TLight light,
49
49
/// <summary>
50
50
/// Creates a single light pipeline for the specified light.
51
51
/// </summary>
52
-
/// <param name="serviceProvider">The service provider passed to the configurators. This method is used within the library to allow passing the composite service provider. This is necessary because the factory will only receive the root service provider even if resolved inside the context scope.</param>
52
+
/// <param name="compositeServiceProvider">The service provider passed to the configurators. This method is used within the library to allow passing the composite service provider. This is necessary because the factory will only receive the root service provider even if resolved inside the context scope.</param>
53
53
/// <param name="light">The light to create a pipeline for.</param>
54
54
/// <param name="pipelineBuilder">An action to configure the pipeline behavior.</param>
55
55
/// <returns>A configured pipeline for controlling the specified light.</returns>
/// <typeparam name="TLight">The type of light, constrained to <see cref="ILight"/>.</typeparam>
67
67
/// <param name="pipelineConfigurator">The configuration action used to initialize the pipeline logic.</param>
68
-
/// <param name="lights">The collection of lights for which pipelines will be created.</param>
68
+
/// <param name="lightsAndProviders">Mapping to the lights to their respective service providers. This allows the factory to create context-specific scopes for each light.</param>
69
69
/// <returns>
70
70
/// A <see cref="Dictionary{TKey, TValue}"/> where the key is the light ID and the value is a
71
71
/// function that resolves the corresponding <see cref="IPipelineNode{LightTransition}"/>.
/// Creates light pipelines for multiple light entities.
88
88
/// </summary>
89
-
/// <param name="serviceProvider">The service provider passed to the configurators. This method is used within the library to allow passing the composite service provider. This is necessary because the factory will only receive the root service provider even if resolved inside the context scope.</param>
90
-
/// <param name="lights">The light entities to create pipelines for.</param>
89
+
/// <param name="compositeServiceProvider">The service provider passed to the configurators. This method is used within the library to allow passing the composite service provider. This is necessary because the factory will only receive the root service provider even if resolved inside the context scope.</param>
90
+
/// <param name="lightsAndProviders">Mapping to the lights to their respective service providers. This allows the factory to create context-specific scopes for each light.</param>
91
91
/// <param name="pipelineBuilder">An action to configure the pipeline behavior.</param>
92
92
/// <returns>A dictionary mapping light IDs to their corresponding pipelines.</returns>
0 commit comments