add IDisposable declaration to accompany existing Dispose() method
This commit is contained in:
parent
ea04c7d5eb
commit
7fcfffba6f
|
@ -1,6 +1,7 @@
|
|||
@using System.ComponentModel
|
||||
@using Oqtane.Shared
|
||||
@inject SiteState SiteState
|
||||
@implements IDisposable
|
||||
|
||||
@if (!string.IsNullOrEmpty(_title))
|
||||
{
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
@attribute [OqtaneIgnore]
|
||||
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
||||
@inject IStringLocalizerFactory LocalizerFactory
|
||||
@implements IDisposable
|
||||
|
||||
<span class="app-moduletitle">
|
||||
@((MarkupString)title)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
@using System.ComponentModel
|
||||
@namespace Oqtane.UI
|
||||
@inject SiteState SiteState
|
||||
@implements IDisposable
|
||||
|
||||
@if (ComponentType != null && _visible)
|
||||
{
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
@inject ILogService LogService
|
||||
@inject IJSRuntime JSRuntime
|
||||
@implements IHandleAfterRender
|
||||
@implements IDisposable
|
||||
|
||||
@if (!string.IsNullOrEmpty(_error))
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ using Oqtane.Shared;
|
|||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
public class EventDistributorHostedService : IHostedService
|
||||
public class EventDistributorHostedService : IHostedService, IDisposable
|
||||
{
|
||||
private readonly IServiceProvider _serviceProvider;
|
||||
private readonly ISyncManager _syncManager;
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
using System;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Oqtane.Infrastructure
|
||||
{
|
||||
/// <summary>
|
||||
/// FileLogger should only be used in scenarios where a database is not available or tenant/site cannot be determined ( ie. during startup )
|
||||
/// FileLogger should only be used in scenarios where a database is not available or tenant/site cannot be determined (ie. during startup)
|
||||
/// </summary>
|
||||
[ProviderAlias("FileLogger")]
|
||||
public class FileLoggerProvider : ILoggerProvider
|
||||
|
@ -25,6 +26,7 @@ namespace Oqtane.Infrastructure
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
// nothing to dispose
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user