Fix comment
This commit is contained in:
parent
206f793fb5
commit
2e7c8649b6
|
|
@ -130,8 +130,8 @@ namespace Microsoft.AspNetCore.Components.Rendering
|
||||||
public void SetDirectParameters(ParameterView parameters)
|
public void SetDirectParameters(ParameterView parameters)
|
||||||
{
|
{
|
||||||
// Note: We should be careful to ensure that the framework never calls
|
// Note: We should be careful to ensure that the framework never calls
|
||||||
// IComponent.SetParameters directly elsewhere. We should only call it
|
// IComponent.SetParametersAsync directly elsewhere. We should only call it
|
||||||
// via ComponentState.SetParameters (or NotifyCascadingValueChanged below).
|
// via ComponentState.SetDirectParameters (or NotifyCascadingValueChanged below).
|
||||||
// If we bypass this, the component won't receive the cascading parameters nor
|
// If we bypass this, the component won't receive the cascading parameters nor
|
||||||
// will it update its snapshot of direct parameters.
|
// will it update its snapshot of direct parameters.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue