From 2e7c8649b6a331e9862f55b62f94c8cd33728c3b Mon Sep 17 00:00:00 2001 From: Steve Sanderson Date: Fri, 27 Sep 2019 21:10:08 +0100 Subject: [PATCH] Fix comment --- src/Components/Components/src/Rendering/ComponentState.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Components/src/Rendering/ComponentState.cs b/src/Components/Components/src/Rendering/ComponentState.cs index 1b999f30fa..8394a2adba 100644 --- a/src/Components/Components/src/Rendering/ComponentState.cs +++ b/src/Components/Components/src/Rendering/ComponentState.cs @@ -130,8 +130,8 @@ namespace Microsoft.AspNetCore.Components.Rendering public void SetDirectParameters(ParameterView parameters) { // Note: We should be careful to ensure that the framework never calls - // IComponent.SetParameters directly elsewhere. We should only call it - // via ComponentState.SetParameters (or NotifyCascadingValueChanged below). + // IComponent.SetParametersAsync directly elsewhere. We should only call it + // via ComponentState.SetDirectParameters (or NotifyCascadingValueChanged below). // If we bypass this, the component won't receive the cascading parameters nor // will it update its snapshot of direct parameters.