diff --git a/10.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor b/10.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor index a9d59af2..a6547036 100644 --- a/10.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor +++ b/10.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor @@ -1,4 +1,4 @@ -@typeparam TExample +@typeparam TExample @if (ExampleList is not null) { @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/10.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor b/10.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor index c8ed3281..ba02731d 100644 --- a/10.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor +++ b/10.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor @@ -1,4 +1,4 @@ -@attribute [CascadingTypeParameter(nameof(TExample))] +@attribute [CascadingTypeParameter(nameof(TExample))] @typeparam TExample

List Items 3

@@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } diff --git a/10.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor b/10.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor index 9a601703..83295583 100644 --- a/10.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor +++ b/10.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor @@ -1,4 +1,4 @@ -@page "/daleks" +@page "/daleks" Daleks @@ -16,8 +16,8 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] - public Dalek? AlphaGroupDalek { get; set; } + private Dalek? AlphaGroupDalek { get; set; } } diff --git a/10.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor b/10.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/10.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor +++ b/10.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/10.0/BlazorSample_BlazorWebAssembly/Pages/Daleks.razor b/10.0/BlazorSample_BlazorWebAssembly/Pages/Daleks.razor index 9a601703..437568a4 100644 --- a/10.0/BlazorSample_BlazorWebAssembly/Pages/Daleks.razor +++ b/10.0/BlazorSample_BlazorWebAssembly/Pages/Daleks.razor @@ -16,7 +16,7 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] public Dalek? AlphaGroupDalek { get; set; } diff --git a/10.0/BlazorSample_BlazorWebAssembly/Pages/ThemedCounter.razor b/10.0/BlazorSample_BlazorWebAssembly/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/10.0/BlazorSample_BlazorWebAssembly/Pages/ThemedCounter.razor +++ b/10.0/BlazorSample_BlazorWebAssembly/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/10.0/BlazorSample_BlazorWebAssembly/Shared/ListDisplay2.razor b/10.0/BlazorSample_BlazorWebAssembly/Shared/ListDisplay2.razor index a9d59af2..d085d6c0 100644 --- a/10.0/BlazorSample_BlazorWebAssembly/Shared/ListDisplay2.razor +++ b/10.0/BlazorSample_BlazorWebAssembly/Shared/ListDisplay2.razor @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/10.0/BlazorSample_BlazorWebAssembly/Shared/ListItems3.razor b/10.0/BlazorSample_BlazorWebAssembly/Shared/ListItems3.razor index c8ed3281..2b2198fd 100644 --- a/10.0/BlazorSample_BlazorWebAssembly/Shared/ListItems3.razor +++ b/10.0/BlazorSample_BlazorWebAssembly/Shared/ListItems3.razor @@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } diff --git a/3.1/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/3.1/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 195a73eb..f050dc97 100644 --- a/3.1/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/3.1/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -21,7 +21,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo ThemeInfo { get; set; } + private ThemeInfo ThemeInfo { get; set; } private void IncrementCount() { diff --git a/5.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/5.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 195a73eb..f050dc97 100644 --- a/5.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/5.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -21,7 +21,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo ThemeInfo { get; set; } + private ThemeInfo ThemeInfo { get; set; } private void IncrementCount() { diff --git a/6.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/6.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 60590374..eacb54a1 100644 --- a/6.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/6.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -23,7 +23,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() { diff --git a/7.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/7.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 60590374..eacb54a1 100644 --- a/7.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/7.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -23,7 +23,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() { diff --git a/8.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor b/8.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor index a9d59af2..d085d6c0 100644 --- a/8.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor +++ b/8.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/8.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor b/8.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor index c8ed3281..2b2198fd 100644 --- a/8.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor +++ b/8.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor @@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } diff --git a/8.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor b/8.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor index 9a601703..437568a4 100644 --- a/8.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor +++ b/8.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor @@ -16,7 +16,7 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] public Dalek? AlphaGroupDalek { get; set; } diff --git a/8.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor b/8.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/8.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor +++ b/8.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/8.0/BlazorSample_WebAssembly/Pages/Daleks.razor b/8.0/BlazorSample_WebAssembly/Pages/Daleks.razor index 9a601703..437568a4 100644 --- a/8.0/BlazorSample_WebAssembly/Pages/Daleks.razor +++ b/8.0/BlazorSample_WebAssembly/Pages/Daleks.razor @@ -16,7 +16,7 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] public Dalek? AlphaGroupDalek { get; set; } diff --git a/8.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/8.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/8.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/8.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/8.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor b/8.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor index a9d59af2..d085d6c0 100644 --- a/8.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor +++ b/8.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/8.0/BlazorSample_WebAssembly/Shared/ListItems3.razor b/8.0/BlazorSample_WebAssembly/Shared/ListItems3.razor index c8ed3281..2b2198fd 100644 --- a/8.0/BlazorSample_WebAssembly/Shared/ListItems3.razor +++ b/8.0/BlazorSample_WebAssembly/Shared/ListItems3.razor @@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } diff --git a/9.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor b/9.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor index a9d59af2..d085d6c0 100644 --- a/9.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor +++ b/9.0/BlazorSample_BlazorWebApp/Components/ListDisplay2.razor @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/9.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor b/9.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor index c8ed3281..2b2198fd 100644 --- a/9.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor +++ b/9.0/BlazorSample_BlazorWebApp/Components/ListItems3.razor @@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; } diff --git a/9.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor b/9.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor index 9a601703..437568a4 100644 --- a/9.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor +++ b/9.0/BlazorSample_BlazorWebApp/Components/Pages/Daleks.razor @@ -16,7 +16,7 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] public Dalek? AlphaGroupDalek { get; set; } diff --git a/9.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor b/9.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/9.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor +++ b/9.0/BlazorSample_BlazorWebApp/Components/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/9.0/BlazorSample_WebAssembly/Pages/Daleks.razor b/9.0/BlazorSample_WebAssembly/Pages/Daleks.razor index 9a601703..437568a4 100644 --- a/9.0/BlazorSample_WebAssembly/Pages/Daleks.razor +++ b/9.0/BlazorSample_WebAssembly/Pages/Daleks.razor @@ -16,7 +16,7 @@ @code { [CascadingParameter] - public Dalek? Dalek { get; set; } + private Dalek? Dalek { get; set; } [CascadingParameter(Name = "AlphaGroup")] public Dalek? AlphaGroupDalek { get; set; } diff --git a/9.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor b/9.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor index 04b7f6b6..30f11226 100644 --- a/9.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor +++ b/9.0/BlazorSample_WebAssembly/Pages/ThemedCounter.razor @@ -24,7 +24,7 @@ private int currentCount = 0; [CascadingParameter] - protected ThemeInfo? ThemeInfo { get; set; } + private ThemeInfo? ThemeInfo { get; set; } private void IncrementCount() => currentCount++; } diff --git a/9.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor b/9.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor index a9d59af2..d085d6c0 100644 --- a/9.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor +++ b/9.0/BlazorSample_WebAssembly/Shared/ListDisplay2.razor @@ -15,5 +15,5 @@ public string? Color { get; set; } [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } } diff --git a/9.0/BlazorSample_WebAssembly/Shared/ListItems3.razor b/9.0/BlazorSample_WebAssembly/Shared/ListItems3.razor index c8ed3281..2b2198fd 100644 --- a/9.0/BlazorSample_WebAssembly/Shared/ListItems3.razor +++ b/9.0/BlazorSample_WebAssembly/Shared/ListItems3.razor @@ -21,7 +21,7 @@ @code { [CascadingParameter] - protected IEnumerable? ExampleList { get; set; } + private IEnumerable? ExampleList { get; set; } [Parameter] public RenderFragment? ChildContent { get; set; }