Method names fix

This commit is contained in:
Anton Kasyanov
2018-02-19 21:18:23 +02:00
parent 7401e25719
commit 42be487d31
6 changed files with 10 additions and 10 deletions

View File

@@ -145,7 +145,7 @@
<Compile Include="Services\Implementation\WindowManager.cs" />
<Compile Include="Services\Interop\User32NativeMethods.cs" />
<Compile Include="Presenters\Implementation\MainFormPresenter.cs" />
<Compile Include="Presenters\ViewCloseRequest.cs" />
<Compile Include="Presenters\Interface\ViewCloseRequest.cs" />
<Compile Include="Presenters\Implementation\ViewZoomAnchorConverter.cs" />
<Compile Include="View\Interface\IThumbnailViewFactory.cs" />
<Compile Include="Services\Interface\IThumbnailManager.cs" />

View File

@@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
using EveOPreview.Mediator.Messages;
using EveOPreview.UI;
using EveOPreview.Services;
using MediatR;
namespace EveOPreview.Mediator.Handlers.Services
@@ -17,7 +17,7 @@ namespace EveOPreview.Mediator.Handlers.Services
public Task Handle(StartService message, CancellationToken cancellationToken)
{
this._manager.Activate();
this._manager.Start();
return Task.CompletedTask;
}

View File

@@ -1,7 +1,7 @@
using System.Threading;
using System.Threading.Tasks;
using EveOPreview.Mediator.Messages;
using EveOPreview.UI;
using EveOPreview.Services;
using MediatR;
namespace EveOPreview.Mediator.Handlers.Services
@@ -17,7 +17,7 @@ namespace EveOPreview.Mediator.Handlers.Services
public Task Handle(StopService message, CancellationToken cancellationToken)
{
this._manager.Deactivate();
this._manager.Stop();
return Task.CompletedTask;
}

View File

@@ -77,7 +77,7 @@ namespace EveOPreview.Presenters
{
this._mediator.Send(new StopService()).Wait();
this._thumbnailManager.Deactivate();
this._thumbnailManager.Stop();
this._configurationStorage.Save();
request.Allow = true;
return;

View File

@@ -57,14 +57,14 @@ namespace EveOPreview.Services
this._thumbnailUpdateTimer.Interval = new TimeSpan(0, 0, 0, 0, configuration.ThumbnailRefreshPeriod);
}
public void Activate()
public void Start()
{
this._thumbnailUpdateTimer.Start();
this.RefreshThumbnails();
}
public void Deactivate()
public void Stop()
{
this._thumbnailUpdateTimer.Stop();
}

View File

@@ -5,8 +5,8 @@ namespace EveOPreview.Services
{
public interface IThumbnailManager
{
void Activate();
void Deactivate();
void Start();
void Stop();
void SetThumbnailState(IntPtr thumbnailId, bool hideAlways);
void SetThumbnailsSize(Size size);