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 System.ComponentModel
|
||||||
@using Oqtane.Shared
|
@using Oqtane.Shared
|
||||||
@inject SiteState SiteState
|
@inject SiteState SiteState
|
||||||
|
@implements IDisposable
|
||||||
|
|
||||||
@if (!string.IsNullOrEmpty(_title))
|
@if (!string.IsNullOrEmpty(_title))
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
@attribute [OqtaneIgnore]
|
@attribute [OqtaneIgnore]
|
||||||
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
@inject IStringLocalizer<SharedResources> SharedLocalizer
|
||||||
@inject IStringLocalizerFactory LocalizerFactory
|
@inject IStringLocalizerFactory LocalizerFactory
|
||||||
|
@implements IDisposable
|
||||||
|
|
||||||
<span class="app-moduletitle">
|
<span class="app-moduletitle">
|
||||||
@((MarkupString)title)
|
@((MarkupString)title)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
@using System.ComponentModel
|
@using System.ComponentModel
|
||||||
@namespace Oqtane.UI
|
@namespace Oqtane.UI
|
||||||
@inject SiteState SiteState
|
@inject SiteState SiteState
|
||||||
|
@implements IDisposable
|
||||||
|
|
||||||
@if (ComponentType != null && _visible)
|
@if (ComponentType != null && _visible)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
@inject ILogService LogService
|
@inject ILogService LogService
|
||||||
@inject IJSRuntime JSRuntime
|
@inject IJSRuntime JSRuntime
|
||||||
@implements IHandleAfterRender
|
@implements IHandleAfterRender
|
||||||
|
@implements IDisposable
|
||||||
|
|
||||||
@if (!string.IsNullOrEmpty(_error))
|
@if (!string.IsNullOrEmpty(_error))
|
||||||
{
|
{
|
||||||
|
|
|
@ -12,7 +12,7 @@ using Oqtane.Shared;
|
||||||
|
|
||||||
namespace Oqtane.Infrastructure
|
namespace Oqtane.Infrastructure
|
||||||
{
|
{
|
||||||
public class EventDistributorHostedService : IHostedService
|
public class EventDistributorHostedService : IHostedService, IDisposable
|
||||||
{
|
{
|
||||||
private readonly IServiceProvider _serviceProvider;
|
private readonly IServiceProvider _serviceProvider;
|
||||||
private readonly ISyncManager _syncManager;
|
private readonly ISyncManager _syncManager;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
|
|
||||||
|
@ -25,6 +26,7 @@ namespace Oqtane.Infrastructure
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
// nothing to dispose
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user