Skip to content

Commit

Permalink
fix: Update parameter names in PropagateInjection method for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelSevenS committed Feb 13, 2025
1 parent e8dcc5e commit 0033d95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SevenDev.Boundless.Injection/src/InjectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ public static void PropagateInjection<T>(this IInjector<T> injector, Logger? log
}

/// <summary>
/// Propagates a given <paramref name="value"/> recursively to all child Nodes of a <paramref name="parent"/> Node.
/// Propagates a given <paramref name="value"/> recursively to all child Nodes of a <paramref name="root"/> Node.
/// </summary>
/// <typeparam name="T">The type of value which will be propagated</typeparam>
/// <param name="parent">The parent Node whose children will receive the value through propagation</param>
/// <param name="root">The root Node whose children will receive the value through propagation</param>
/// <param name="value">The value which will be propagated to the child Nodes</param>
public static void PropagateInjection<T>(this IInjectionNode parent, T? value) where T : notnull =>
PropagateInjection(parent, value, true);
public static void PropagateInjection<T>(this IInjectionNode root, T? value) where T : notnull =>
PropagateInjection(root, value, true);

/// <summary>
/// Propagates a given <paramref name="value"/> to all child Nodes of a <paramref name="parent"/> Node.
Expand Down

0 comments on commit 0033d95

Please sign in to comment.