diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/Tab.razor b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/Tab.razor index 2e6609ab94..8e9e7b5800 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/Tab.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/Tab.razor @@ -1,8 +1,8 @@ -@using BlazorSample.UIInterfaces +@using BlazorSample.UIInterfaces @implements ITab
  • - + @Title
  • @@ -24,8 +24,8 @@ ContainerTabSet.AddTab(this); } - private void Activate() + private void ActivateTab() { - ContainerTabSet.SetActivateTab(this); + ContainerTabSet.SetActiveTab(this); } } diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/TabSet.razor b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/TabSet.razor index 8ae1332d09..207a547370 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/TabSet.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Components/TabSet.razor @@ -1,4 +1,4 @@ -@using BlazorSample.UIInterfaces +@using BlazorSample.UIInterfaces @@ -22,7 +22,7 @@ { if (ActiveTab == null) { - SetActivateTab(tab); + SetActiveTab(tab); } } @@ -30,11 +30,11 @@ { if (ActiveTab == tab) { - SetActivateTab(null); + SetActiveTab(null); } } - public void SetActivateTab(ITab tab) + public void SetActiveTab(ITab tab) { if (ActiveTab != tab) { diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Pages/CascadingValuesParametersTabSet.razor b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Pages/CascadingValuesParametersTabSet.razor index 33c22c4911..b0a38b336b 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Pages/CascadingValuesParametersTabSet.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorServerSample/Pages/CascadingValuesParametersTabSet.razor @@ -97,7 +97,7 @@ namespace BlazorSample.UIInterfaces { if (ActiveTab == null) { - SetActivateTab(tab); + SetActiveTab(tab); } } @@ -105,11 +105,11 @@ namespace BlazorSample.UIInterfaces { if (ActiveTab == tab) { - SetActivateTab(null); + SetActiveTab(null); } } - public void SetActivateTab(ITab tab) + public void SetActiveTab(ITab tab) { if (ActiveTab != tab) { @@ -127,7 +127,7 @@ namespace BlazorSample.UIInterfaces @@implements ITab <li> - <a @@onclick="Activate" class="nav-link @@TitleCssClass" role="button"> + <a @@onclick="ActivateTab" class="nav-link @@TitleCssClass" role="button"> @@Title </a> </li> @@ -149,9 +149,9 @@ namespace BlazorSample.UIInterfaces ContainerTabSet.AddTab(this); } - private void Activate() + private void ActivateTab() { - ContainerTabSet.SetActivateTab(this); + ContainerTabSet.SetActiveTab(this); } } diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/Tab.razor b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/Tab.razor index 2e6609ab94..8e9e7b5800 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/Tab.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/Tab.razor @@ -1,8 +1,8 @@ -@using BlazorSample.UIInterfaces +@using BlazorSample.UIInterfaces @implements ITab
  • - + @Title
  • @@ -24,8 +24,8 @@ ContainerTabSet.AddTab(this); } - private void Activate() + private void ActivateTab() { - ContainerTabSet.SetActivateTab(this); + ContainerTabSet.SetActiveTab(this); } } diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/TabSet.razor b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/TabSet.razor index 8ae1332d09..207a547370 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/TabSet.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Components/TabSet.razor @@ -1,4 +1,4 @@ -@using BlazorSample.UIInterfaces +@using BlazorSample.UIInterfaces @@ -22,7 +22,7 @@ { if (ActiveTab == null) { - SetActivateTab(tab); + SetActiveTab(tab); } } @@ -30,11 +30,11 @@ { if (ActiveTab == tab) { - SetActivateTab(null); + SetActiveTab(null); } } - public void SetActivateTab(ITab tab) + public void SetActiveTab(ITab tab) { if (ActiveTab != tab) { diff --git a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Pages/CascadingValuesParametersTabSet.razor b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Pages/CascadingValuesParametersTabSet.razor index 33c22c4911..b0a38b336b 100644 --- a/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Pages/CascadingValuesParametersTabSet.razor +++ b/aspnetcore/blazor/common/samples/3.x/BlazorWebAssemblySample/Pages/CascadingValuesParametersTabSet.razor @@ -97,7 +97,7 @@ namespace BlazorSample.UIInterfaces { if (ActiveTab == null) { - SetActivateTab(tab); + SetActiveTab(tab); } } @@ -105,11 +105,11 @@ namespace BlazorSample.UIInterfaces { if (ActiveTab == tab) { - SetActivateTab(null); + SetActiveTab(null); } } - public void SetActivateTab(ITab tab) + public void SetActiveTab(ITab tab) { if (ActiveTab != tab) { @@ -127,7 +127,7 @@ namespace BlazorSample.UIInterfaces @@implements ITab <li> - <a @@onclick="Activate" class="nav-link @@TitleCssClass" role="button"> + <a @@onclick="ActivateTab" class="nav-link @@TitleCssClass" role="button"> @@Title </a> </li> @@ -149,9 +149,9 @@ namespace BlazorSample.UIInterfaces ContainerTabSet.AddTab(this); } - private void Activate() + private void ActivateTab() { - ContainerTabSet.SetActivateTab(this); + ContainerTabSet.SetActiveTab(this); } }