/// <summary> /// Creates a cascading value which can be passed to a test contexts render methods. /// </summary> /// <param name="value">Value of the parameter</param> /// <returns>The <see cref="ComponentParameter"/>.</returns> protected static ComponentParameter CascadingValue(object value) => ComponentParameterFactory.CascadingValue(value);
/// <summary> /// Creates a cascading value which can be passed to a test contexts render methods. /// </summary> /// <param name="name">Parameter name</param> /// <param name="value">Value of the parameter</param> /// <returns>The <see cref="ComponentParameter"/>.</returns> protected static ComponentParameter CascadingValue(string name, object value) => ComponentParameterFactory.CascadingValue(name, value);