Skip to content

doc: 更新 RadioList 示例 #4638

doc: 更新 RadioList 示例

doc: 更新 RadioList 示例 #4638

Triggered via push December 21, 2024 10:34
Status Success
Total duration 2m 38s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L15
Argument of type 'SelectedItem<TValue>' cannot be used for parameter 'item' of type 'SelectedItem<TValue?>' in 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' due to differences in the nullability of reference types.
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L28
Nullability of reference types in type of parameter 'item' of 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' doesn't match the target delegate 'Func<SelectedItem<TValue>, Task>' (possibly because of nullability attributes).
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L15
Argument of type 'SelectedItem<TValue>' cannot be used for parameter 'item' of type 'SelectedItem<TValue?>' in 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' due to differences in the nullability of reference types.
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L28
Nullability of reference types in type of parameter 'item' of 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' doesn't match the target delegate 'Func<SelectedItem<TValue>, Task>' (possibly because of nullability attributes).
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L15
Argument of type 'SelectedItem<TValue>' cannot be used for parameter 'item' of type 'SelectedItem<TValue?>' in 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' due to differences in the nullability of reference types.
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L28
Nullability of reference types in type of parameter 'item' of 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' doesn't match the target delegate 'Func<SelectedItem<TValue>, Task>' (possibly because of nullability attributes).
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L15
Argument of type 'SelectedItem<TValue>' cannot be used for parameter 'item' of type 'SelectedItem<TValue?>' in 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' due to differences in the nullability of reference types.
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L28
Nullability of reference types in type of parameter 'item' of 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' doesn't match the target delegate 'Func<SelectedItem<TValue>, Task>' (possibly because of nullability attributes).
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L15
Argument of type 'SelectedItem<TValue>' cannot be used for parameter 'item' of type 'SelectedItem<TValue?>' in 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' due to differences in the nullability of reference types.
build: src/BootstrapBlazor/Components/Radio/RadioListGeneric.razor#L28
Nullability of reference types in type of parameter 'item' of 'Task RadioListGeneric<TValue>.OnClick(SelectedItem<TValue?> item)' doesn't match the target delegate 'Func<SelectedItem<TValue>, Task>' (possibly because of nullability attributes).
build: test/UnitTest/Components/CheckboxListGenericTest.cs#L29
Nullability of reference types in value of type 'List<Foo?>' doesn't match target type 'List<Foo>'.