diff --git a/src/BootstrapBlazor.Server/Components/Pages/CacaheExpiration.razor b/src/BootstrapBlazor.Server/Components/Components/CacheExpiration.razor similarity index 100% rename from src/BootstrapBlazor.Server/Components/Pages/CacaheExpiration.razor rename to src/BootstrapBlazor.Server/Components/Components/CacheExpiration.razor diff --git a/src/BootstrapBlazor.Server/Components/Pages/CacaheExpiration.razor.cs b/src/BootstrapBlazor.Server/Components/Components/CacheExpiration.razor.cs similarity index 89% rename from src/BootstrapBlazor.Server/Components/Pages/CacaheExpiration.razor.cs rename to src/BootstrapBlazor.Server/Components/Components/CacheExpiration.razor.cs index 9df8217e3fd..37485313eec 100644 --- a/src/BootstrapBlazor.Server/Components/Pages/CacaheExpiration.razor.cs +++ b/src/BootstrapBlazor.Server/Components/Components/CacheExpiration.razor.cs @@ -5,12 +5,12 @@ using Microsoft.Extensions.Caching.Memory; -namespace BootstrapBlazor.Server.Components.Pages; +namespace BootstrapBlazor.Server.Components.Components; /// -/// CacaheExpiration 组件 +/// CacheExpiration 组件 /// -public partial class CacaheExpiration +public partial class CacheExpiration { /// /// 获得/设置 实例 diff --git a/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor b/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor index 9353cdeeda1..19c78dc892e 100644 --- a/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor +++ b/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor @@ -20,7 +20,7 @@ diff --git a/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor.cs b/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor.cs index fa083c2516f..689112eb9dc 100644 --- a/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor.cs +++ b/src/BootstrapBlazor.Server/Components/Pages/CacheList.razor.cs @@ -19,7 +19,7 @@ public partial class CacheList [Inject, NotNull] private IStringLocalizer? Localizer { get; set; } - private List? _cacheList; + private List _cacheList = []; /// ///