Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename service #154

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Wreck/Controller/AbstractController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ public abstract class AbstractController : IController

private FileSystemInfo startPath;

private readonly PreviewService service;
private readonly WreckService service;

protected static IController instance;

protected AbstractController()
{
this.service = new PreviewService();
this.service = new WreckService();
instance = this;
}

Expand All @@ -49,7 +49,7 @@ public FileSystemInfo StartPath
get { return startPath; }
}

public PreviewService Service
public WreckService Service
{
get { return service; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Wreck.Service
/// <summary>
/// Description of PreviewService.
/// </summary>
public class PreviewService
public class WreckService
{
/*
public bool IsRestorable(FileSystemInfo startPath)
Expand Down
2 changes: 1 addition & 1 deletion Wreck/Wreck.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<Compile Include="Resources\R.cs" />
<Compile Include="Resources\SourceEnum.cs" />
<Compile Include="Security\PasswordProvider.cs" />
<Compile Include="Service\PreviewService.cs" />
<Compile Include="Service\WreckService.cs" />
<Compile Include="Statistics.cs" />
<Compile Include="Test.cs" />
<Compile Include="Time\TimeOrder.cs" />
Expand Down