Skip to content

Commit da72b95

Browse files
committed
fix: enable docs sample to build
1 parent 6b81d86 commit da72b95

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/samples/.editorconfig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ tab_size = 2
1717
indent_style = space
1818
indent_size = 2
1919
indent_width = 2
20+
2021
dotnet_diagnostic.BL0001.severity = none
2122
dotnet_diagnostic.BL0002.severity = none
2223
dotnet_diagnostic.BL0003.severity = none
2324
dotnet_diagnostic.BL0004.severity = none
2425
dotnet_diagnostic.BL0005.severity = none
25-
dotnet_diagnostic.BL0006.severity = none
26+
dotnet_diagnostic.BL0006.severity = none
27+
dotnet_diagnostic.BL0007.severity = none

src/bunit.web/TestDoubles/Components/ComponentDoubleBase{TComponent}.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ public abstract class ComponentDoubleBase<TComponent> : IComponent
2020
/// that this stub replaced in the component tree.
2121
/// </summary>
2222
[Parameter(CaptureUnmatchedValues = true)]
23-
public CapturedParameterView<TComponent> Parameters { get; private set; }
24-
= CapturedParameterView<TComponent>.Empty;
23+
public CapturedParameterView<TComponent> Parameters { get; set; } = CapturedParameterView<TComponent>.Empty;
2524

2625
/// <inheritdoc/>
2726
public virtual Task SetParametersAsync(ParameterView parameters)

0 commit comments

Comments
 (0)