Skip to content

Commit b14dde7

Browse files
authored
Ensure Feature.DebuggerBrowsable defaults to true #541 (#549)
1 parent d791bda commit b14dde7

File tree

2 files changed

+2
-2
lines changed
  • Source
    • Lib/Fluxor
    • Tutorials/02-Blazor/02D-ReduxDevToolsTutorial/ReduxDevToolsTutorial/Client/Store/CounterUseCase

2 files changed

+2
-2
lines changed

Source/Lib/Fluxor/Feature.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public abstract class Feature<TState> : IFeature<TState>
1818
public virtual object GetState() => State;
1919

2020
/// <see cref="IFeature.DebuggerBrowsable"/>
21-
public virtual bool DebuggerBrowsable { get; set; }
21+
public virtual bool DebuggerBrowsable { get; set; } = true;
2222

2323
/// <see cref="IFeature.RestoreState(object)"/>
2424
public virtual void RestoreState(object value) => State = (TState)value;

Source/Tutorials/02-Blazor/02D-ReduxDevToolsTutorial/ReduxDevToolsTutorial/Client/Store/CounterUseCase/CounterState.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace FluxorBlazorWeb.ReduxDevToolsTutorial.Client.Store.CounterUseCase
44
{
5-
[FeatureState(Name = "Counter", DebuggerBrowsable = false)]
5+
[FeatureState(Name = "Counter")]
66
public class CounterState
77
{
88
public int ClickCount { get; }

0 commit comments

Comments
 (0)